mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 13:16:34 +00:00
qla2x00t-32gbit: Fix the RHEL / CentOS 8.2 build
This patch has been tested against kernel version 4.18.0-193.14.2.el8_2. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9094 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2048,7 +2048,9 @@ fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf)
|
||||
/* <uapi/scsi/fc/fc_els.h> */
|
||||
|
||||
/* See also commit a7dff3ad4787 ("scsi: fc: add FPIN ELS definition") # v5.2 */
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) && \
|
||||
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 8 || \
|
||||
(RHEL_MAJOR -0 == 8 && RHEL_MINOR -0 < 2))
|
||||
#define ELS_FPIN 0x16
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user