From 8b32697a777782ffd843aa4cd6b32573cd268771 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 24 Jun 2021 03:56:50 +0000 Subject: [PATCH] scst: Fix the build against the UEK 8 kernel (trunk r9385) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9461 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/backport.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scst/include/backport.h b/scst/include/backport.h index 8fcb3f5b2..ab4e4d7a3 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -2134,7 +2134,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