From e05b5508177365daa9b1144dffc98bd0afa1b4d8 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 1 Jun 2020 02:06:05 +0000 Subject: [PATCH] scst/include/backport.h: Improve the FC_PORTSPEED_64GBIT backport git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8996 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/backport.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scst/include/backport.h b/scst/include/backport.h index bf6f74f20..39a9d03a6 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -1750,15 +1750,13 @@ enum { #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) && \ - (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 7) + !defined(FC_PORTSPEED_64GBIT) /* * See also commit cc019a5a3b58 ("scsi: scsi_transport_fc: fix typos on 64/128 * GBit define names") # v4.16. */ -#ifndef FC_PORTSPEED_64GBIT #define FC_PORTSPEED_64GBIT 0x1000 #endif -#endif #ifndef FC_PORT_ROLE_UNKNOWN #define FC_PORT_ROLE_UNKNOWN 0x00