I want to printk a loff_t from the read-method of a char-device and
gcc tells me, that %l won't work. I saw in the header, that loff_t is
a long long, and the userspace-printf can printf those with %ll, but
printk doesn't know %ll. Is there any method of printing a long long
with printk, or will I have to split them into two longs? Or is it OK
for testing to assume that my device won't handle large amounts of
data and there won't be a caller who wants to read more than 4 GB?
And: if I want to printk the lower 32 bit of my long long - will I
have to cast it on long or will I also need to &0xffffffff it?
aTdHvAaNnKcSe,
Felix