From 102797b00b67e951c08954d113c556210f356fd5 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 21 Apr 2020 02:26:16 +0000 Subject: [PATCH] qla2x00t-32gbit: Port to Linux kernel v5.7 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8865 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t-32gbit/qla_nvme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qla2x00t-32gbit/qla_nvme.c b/qla2x00t-32gbit/qla_nvme.c index 7bd8ccb37..0937121db 100644 --- a/qla2x00t-32gbit/qla_nvme.c +++ b/qla2x00t-32gbit/qla_nvme.c @@ -621,7 +621,8 @@ static void qla_nvme_remoteport_delete(struct nvme_fc_remote_port *rport) } static struct nvme_fc_port_template qla_nvme_fc_transport = { -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) && \ + LINUX_VERSION_CODE < KERNEL_VERSION(5, 7, 0) /* * See also commit 863fbae929c7 ("nvme_fc: add module to ops template * to allow module references").