hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I905SE CVE: NA
--------------------------------
Add kabi slots in bin_attribute struct for future expansion.
struct size(byte) reserve(8*byte) now(byte) bin_attribute 64 1 72
Signed-off-by: Long Li leo.lilong@huawei.com --- include/linux/sysfs.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index fd3fe5c8c17f..1fbd741a2962 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -183,6 +183,8 @@ struct bin_attribute { char *, loff_t, size_t); int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr, struct vm_area_struct *vma); + + KABI_RESERVE(1) };
/**