Files
linux/drivers
Rasmus Villemoes 347755d2a8 watchdog: sbc_fitpc2_wdt: add __user annotations
After a change to the put_user() macro on x86, kernel test robot has
started sending me complaints (from sparse) about passing kernel
pointers to put_user(). So add the __user annotations to the various
casts in fitpc2_wdt_ioctl(), and while in here, also make the write
method actually match the prototype of file_operations::write.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Guenter Roeck <inux@roeck-us.net>
Link: https://lore.kernel.org/r/20201025124518.31647-1-linux@rasmusvillemoes.dk
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2020-12-13 16:17:41 +01:00
..
2020-11-18 16:42:07 -08:00
2020-12-03 10:00:23 +01:00
2020-12-08 08:15:49 +01:00
2020-09-28 12:17:36 +02:00
2020-09-25 06:12:15 +02:00
2020-10-27 19:23:04 +01:00
2020-12-04 17:39:58 +01:00