[PATCH OLK-6.6] scsi: target: Add kabi reservation

hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8ZUL1 -------------------------------- Reserve space for structure se_cmd/se_device. Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com> --- include/target/target_core_base.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 159567359bbb..fc659fe6d7a0 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -554,6 +554,12 @@ struct se_cmd { * initialized on. Drivers can override. */ int cpuid; + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) + KABI_RESERVE(5) }; struct se_ua { @@ -869,6 +875,9 @@ struct se_device { int queue_cnt; struct se_device_queue *queues; struct mutex lun_reset_mutex; + + KABI_RESERVE(1) + KABI_RESERVE(2) }; struct target_opcode_descriptor { -- 2.31.1

反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4541 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/Q... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4541 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/Q...
participants (2)
-
Li Lingfeng
-
patchwork bot