rapidio/mport_cdev: fix uapi type definitions
authorAlexandre Bounine <[email protected]>
Thu, 5 May 2016 23:22:06 +0000 (16:22 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 May 2016 00:38:53 +0000 (17:38 -0700)
commit4e1016dac1ccce6d8a960775526cdc3a5baa690b
treefd553229938878ba56cc18c95b0918327b92236c
parent4550c4e157ca3da929593bb6c64080a59141af35
rapidio/mport_cdev: fix uapi type definitions

Fix problems in uapi definitions reported by Gabriel Laskar: (see
https://lkml.org/lkml/2016/4/5/205 for details)

 - move public header file rio_mport_cdev.h to include/uapi/linux directory
 - change types in data structures passed as IOCTL parameters
 - improve parameter checking in some IOCTL service routines

Signed-off-by: Alexandre Bounine <[email protected]>
Reported-by: Gabriel Laskar <[email protected]>
Tested-by: Barry Wood <[email protected]>
Cc: Gabriel Laskar <[email protected]>
Cc: Matt Porter <[email protected]>
Cc: Aurelien Jacquiot <[email protected]>
Cc: Andre van Herk <[email protected]>
Cc: Barry Wood <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rapidio/devices/rio_mport_cdev.c
include/linux/rio_mport_cdev.h [deleted file]
include/uapi/linux/rio_mport_cdev.h [new file with mode: 0644]