aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2023-11-01 20:41:38 +0100
committerJohannes Berg <[email protected]>2023-11-24 20:03:59 +0100
commitf52c8fba984c7ca1ee687504862a4f8b3c5ef854 (patch)
treeeb4cd763275eb148241a6518373232698a2b9662 /tools/perf/scripts/python/export-to-sqlite.py
parentea5f49061d1ddbe7c066c3f28ecb106a479154af (diff)
rfkill: return ENOTTY on invalid ioctl
For unknown ioctls the correct error is ENOTTY "Inappropriate ioctl for device". ENOSYS as returned before should only be used to indicate that a syscall is not available at all. Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Link: https://lore.kernel.org/r/[email protected] [in theory this breaks userspace API, but it was discussed and researched, and nothing found relying on the current behaviour] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions