]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
omapfb: fix IOCTL parameter types
authorImre Deak <imre.deak@nokia.com>
Wed, 1 Mar 2006 11:18:16 +0000 (13:18 +0200)
committerJuha Yrjola <juha.yrjola@nokia.com>
Wed, 1 Mar 2006 11:18:16 +0000 (13:18 +0200)
commit108f6c0f6e2cdddfe6070e851a4f3fbcadbb0b0c
tree32ce9efb01c86339156a9a7be638d00fb9a495b3
parent799d9aa7b0b8a05ba61bb0a93f1c8f8e31bae57f
omapfb: fix IOCTL parameter types

IOCTL parameters shouldn't be of an enum type, replace them with int.

This also fixes up the places where u8, u16, u32 was used instead of
__u8, __u16, __u32 for things used by user space.

This solves a bug for IOCTL code mismatch between kernel and user space
because the toolchains used generated different value for sizeof(enum
xxx) and this size is encoded in the IOCTL code.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
include/asm-arm/arch-omap/omapfb.h