From: Li Lingfeng lilingfeng3@huawei.com
hulk inclusion category: bugfix, https://gitee.com/openeuler/kernel/issues/I7YWV4 bugzilla: 189103 CVE: NA
--------------------------------
This broken caused by adding "is_builtin". Fix kabi broken in struct Scsi_Host.
Signed-off-by: Li Lingfeng lilingfeng3@huawei.com Signed-off-by: Zhong Jinghua zhongjinghua@huawei.com --- include/scsi/scsi_host.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 7811f6c3f68c..6382e92d1e27 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -710,9 +710,15 @@ struct Scsi_Host { */ struct device *dma_dev;
- bool is_builtin;
+#ifndef __GENKSYMS__ + union { + bool is_builtin; + KABI_RESERVE(1) + }; +#else KABI_RESERVE(1) +#endif KABI_RESERVE(2) KABI_RESERVE(3) KABI_RESERVE(4)