Hi all,
I have a printk (kernel code) that prints out a sizeof value. Normally it prints out the correct value. But in one weird test, the sizeof value printed out is totally wrong.
Since sizeof value is determined at compile time, I would guess it is not sizeof that is wrong, but something else is screwing up my printk.
But what? Could anyone think of possible reasons a value like this can be screwed up?
Thanks a lot!
I have a printk (kernel code) that prints out a sizeof value. Normally it prints out the correct value. But in one weird test, the sizeof value printed out is totally wrong.
Since sizeof value is determined at compile time, I would guess it is not sizeof that is wrong, but something else is screwing up my printk.
But what? Could anyone think of possible reasons a value like this can be screwed up?
Thanks a lot!