OpenCloudOS-Kernel/drivers/misc/genwqe
Arnd Bergmann 01b8bca81e compat_ioctl: use correct compat_ptr() translation in drivers
A handful of drivers all have a trivial wrapper around their ioctl
handler, but don't call the compat_ptr() conversion function at the
moment. In practice this does not matter, since none of them are used
on the s390 architecture and for all other architectures, compat_ptr()
does not do anything, but using the new compat_ptr_ioctl()
helper makes it more correct in theory, and simplifies the code.

I checked that all ioctl handlers in these files are compatible
and take either pointer arguments or no argument.

Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2019-10-23 17:23:44 +02:00
..
Kconfig Merge 5.2-rc4 into char-misc-next 2019-06-09 09:11:21 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
card_base.c Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
card_base.h Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
card_ddcb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 289 2019-06-05 17:36:38 +02:00
card_ddcb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
card_debugfs.c Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
card_dev.c compat_ioctl: use correct compat_ptr() translation in drivers 2019-10-23 17:23:44 +02:00
card_sysfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 289 2019-06-05 17:36:38 +02:00
card_utils.c SPDX update for 5.2-rc4 2019-06-08 12:52:42 -07:00
genwqe_driver.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 289 2019-06-05 17:36:38 +02:00