From: Chen Jiahao chenjiahao16@huawei.com
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Reserving some fields in struct input_dev for future development.
Signed-off-by: Chen Jiahao chenjiahao16@huawei.com
conflict: include/linux/input.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/linux/input.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/linux/input.h b/include/linux/input.h index 49790c1bd2c4..124432f404df 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -20,6 +20,7 @@ #include <linux/fs.h> #include <linux/timer.h> #include <linux/mod_devicetable.h> +#include <linux/kabi.h>
struct input_dev_poller;
@@ -209,6 +210,9 @@ struct input_dev { ktime_t timestamp[INPUT_CLK_MAX];
bool inhibited; + + KABI_RESERVE(1) + KABI_RESERVE(2) }; #define to_input_dev(d) container_of(d, struct input_dev, dev)