]> Git Repo - linux.git/commit
rfkill: uapi: fix RFKILL_IOCTL_MAX_SIZE ioctl request definition
authorGleb Fotengauer-Malinovskiy <[email protected]>
Fri, 6 May 2022 17:24:54 +0000 (17:24 +0000)
committerJohannes Berg <[email protected]>
Mon, 9 May 2022 12:00:07 +0000 (14:00 +0200)
commita36e07dfe6ee71e209383ea9288cd8d1617e14f9
tree6592dc9aad74800e6eb3af252396cd85dbca4c6a
parentf971e1887fdb3ab500c9bebf4b98f62d49a20655
rfkill: uapi: fix RFKILL_IOCTL_MAX_SIZE ioctl request definition

The definition of RFKILL_IOCTL_MAX_SIZE introduced by commit
54f586a91532 ("rfkill: make new event layout opt-in") is unusable
since it is based on RFKILL_IOC_EXT_SIZE which has not been defined.
Fix that by replacing the undefined constant with the constant which
is intended to be used in this definition.

Fixes: 54f586a91532 ("rfkill: make new event layout opt-in")
Cc: [email protected] # 5.11+
Signed-off-by: Gleb Fotengauer-Malinovskiy <[email protected]>
Signed-off-by: Dmitry V. Levin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[add commit message provided later by Dmitry]
Signed-off-by: Johannes Berg <[email protected]>
include/uapi/linux/rfkill.h
This page took 0.050859 seconds and 4 git commands to generate.