diff options
| author | Rasmus Villemoes <[email protected]> | 2020-10-25 13:45:18 +0100 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2020-12-13 16:17:41 +0100 |
| commit | 347755d2a88e54e7462be23f1e1a1018d9be4a4b (patch) | |
| tree | e4ccd100ca4fdf8f1c0e96df404a2508eda66648 /tools/perf/scripts/python/export-to-postgresql.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 <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions