scst: Fix the build against the UEK 8 kernel

Reported-by: Abrakhin Andrey <Abrakhin.A@raidix.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9385 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-04-29 17:47:55 +00:00
parent f2fad1f2e6
commit 5910f8da1e

View File

@@ -2235,7 +2235,8 @@ fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf)
* See also commit 62e9dd177732 ("scsi: qla2xxx: Change in PUREX to handle FPIN
* ELS requests").
*/
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 9, 0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 9, 0) && \
!(defined(UEK_KABI_RENAME) && defined(FC_PORTSPEED_256GBIT))
#define ELS_RDP 0x18
#endif