[yocto] Truncated 64 bit return from kernel space

2014-11-11 Thread Padua, Anthony B
Hello all, I have a custom kernel module driver that returns a truncated 64-bit value. The first 32-bits are missing. The driver is called using llseek() and the address used in user space and in kernel space is 64-bits, but when returning from kernel space, the first 32-bits gets truncated, o

[yocto] Truncated 64 bit return from kernel space

2014-11-10 Thread Padua, Anthony B
Hello all, I have a custom kernel module driver that returns a truncated 64-bit value. The first 32-bits are missing. The driver is called using llseek() and the address used in user space and in kernel space is 64-bits, but when returning from kernel space, the first 32-bits gets truncated, o