Commit 72822590 authored by Li Nan's avatar Li Nan
Browse files

scsi: scsi_transport_fc: kabi: KABI reservation for scsi_transport_fc

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I910BZ



--------------------------------

Reserve KABI for file scsi_transport_fc.h.

Signed-off-by: default avatarLi Nan <linan122@huawei.com>
parent 29efdd23
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -383,6 +383,27 @@ struct fc_rport { /* aka fc_starget_attrs */
 	struct work_struct stgt_delete_work;
	struct work_struct rport_delete_work;
	struct request_queue *rqst_q;	/* bsg support */

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
	KABI_RESERVE(5)
	KABI_RESERVE(6)
	KABI_RESERVE(7)
	KABI_RESERVE(8)
	KABI_RESERVE(9)
	KABI_RESERVE(10)
	KABI_RESERVE(11)
	KABI_RESERVE(12)
	KABI_RESERVE(13)
	KABI_RESERVE(14)
	KABI_RESERVE(15)
	KABI_RESERVE(16)
	KABI_RESERVE(17)
	KABI_RESERVE(18)
	KABI_RESERVE(19)
	KABI_RESERVE(20)
} __attribute__((aligned(sizeof(unsigned long))));

/* bit field values for struct fc_rport "flags" field: */
@@ -765,6 +786,15 @@ struct fc_function_template {
	unsigned long	show_host_system_hostname:1;

	unsigned long	disable_target_scan:1;

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
	KABI_RESERVE(5)
	KABI_RESERVE(6)
	KABI_RESERVE(7)
	KABI_RESERVE(8)
};

/**