From 5910f8da1e52851711cb74422a10620709cf76cc Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 29 Apr 2021 17:47:55 +0000 Subject: [PATCH] scst: Fix the build against the UEK 8 kernel Reported-by: Abrakhin Andrey git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9385 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 d12083dea..dfc6a0dae 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -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