Commit 9ef03de5 authored by Long Li's avatar Long Li
Browse files

sysfs: kabi: Reserve KABI slots for bin_attribute struct

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: default avatarLong Li <leo.lilong@huawei.com>
parent 2ab7bb57
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)
};

/**