diff options
| author | Arnd Bergmann <[email protected]> | 2019-08-14 22:42:32 +0200 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2019-09-17 08:59:02 +0200 |
| commit | 68f28b01fb9e5fc3ec273104714bd71bac783845 (patch) | |
| tree | 764fd7eb0631892e28b40a0e8db816f5339667d4 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 31bfa64e9428c2ab6608377fb3d4c40e29c7f4ce (diff) | |
watchdog: cpwd: use generic compat_ptr_ioctl
The cpwd_compat_ioctl() contains a bogus mutex that dates
back to a leftover BKL instance.
Simplify the implementation by using the new compat_ptr_ioctl()
helper function that will do the right thing for all calls
here.
Note that WIOCSTART/WIOCSTOP don't take any arguments, so
the compat_ptr() conversion is not needed here, but it also
doesn't hurt.
Signed-off-by: Arnd Bergmann <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions