diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2020-10-25 13:45:18 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-12-13 16:17:41 +0100 |
commit | 347755d2a88e54e7462be23f1e1a1018d9be4a4b (patch) | |
tree | e4ccd100ca4fdf8f1c0e96df404a2508eda66648 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9747f12b5be9f55bfba72a82b619355cd861bdfe (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions