|
|
3c6e85 |
From 7337ece0a50952c2788a36e62e1b8803e4cc519b Mon Sep 17 00:00:00 2001
|
|
|
3c6e85 |
From: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3c6e85 |
Date: Thu, 1 Aug 2019 15:55:21 -0400
|
|
|
3c6e85 |
Subject: [PATCH 061/124] [scsi] scsi: qla2xxx: Declare local symbols static
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Message-id: <20190801155618.12650-62-hmadhani@redhat.com>
|
|
|
3c6e85 |
Patchwork-id: 267836
|
|
|
3c6e85 |
O-Subject: [RHEL 7.8 e-stor PATCH 061/118] scsi: qla2xxx: Declare local symbols static
|
|
|
3c6e85 |
Bugzilla: 1729270
|
|
|
3c6e85 |
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
|
|
3c6e85 |
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
|
|
|
3c6e85 |
|
|
|
3c6e85 |
From: Bart Van Assche <bvanassche@acm.org>
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Bugzilla 1729270
|
|
|
3c6e85 |
|
|
|
3c6e85 |
This patch avoids that sparse complains that a declaration is missing.
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Cc: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3c6e85 |
Cc: Giridhar Malavali <gmalavali@marvell.com>
|
|
|
3c6e85 |
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
|
|
|
3c6e85 |
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3c6e85 |
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
3c6e85 |
(cherry picked from commit b3ede8ea78e8f4c2377d89763e30b140b70f93c0)
|
|
|
3c6e85 |
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3c6e85 |
Signed-off-by: Jan Stancek <jstancek@redhat.com>
|
|
|
3c6e85 |
---
|
|
|
3c6e85 |
drivers/scsi/qla2xxx/qla_os.c | 4 ++--
|
|
|
3c6e85 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
3c6e85 |
|
|
|
3c6e85 |
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
|
|
|
3c6e85 |
index ebee824413c1..1c9aac36d6fe 100644
|
|
|
3c6e85 |
--- a/drivers/scsi/qla2xxx/qla_os.c
|
|
|
3c6e85 |
+++ b/drivers/scsi/qla2xxx/qla_os.c
|
|
|
3c6e85 |
@@ -284,14 +284,14 @@ MODULE_PARM_DESC(qla2xuseresexchforels,
|
|
|
3c6e85 |
"Reserve 1/2 of emergency exchanges for ELS.\n"
|
|
|
3c6e85 |
" 0 (default): disabled");
|
|
|
3c6e85 |
|
|
|
3c6e85 |
-int ql2xprotmask;
|
|
|
3c6e85 |
+static int ql2xprotmask;
|
|
|
3c6e85 |
module_param(ql2xprotmask, int, 0644);
|
|
|
3c6e85 |
MODULE_PARM_DESC(ql2xprotmask,
|
|
|
3c6e85 |
"Override DIF/DIX protection capabilities mask\n"
|
|
|
3c6e85 |
"Default is 0 which sets protection mask based on "
|
|
|
3c6e85 |
"capabilities reported by HBA firmware.\n");
|
|
|
3c6e85 |
|
|
|
3c6e85 |
-int ql2xprotguard;
|
|
|
3c6e85 |
+static int ql2xprotguard;
|
|
|
3c6e85 |
module_param(ql2xprotguard, int, 0644);
|
|
|
3c6e85 |
MODULE_PARM_DESC(ql2xprotguard, "Override choice of DIX checksum\n"
|
|
|
3c6e85 |
" 0 -- Let HBA firmware decide\n"
|
|
|
3c6e85 |
--
|
|
|
3c6e85 |
2.13.6
|
|
|
3c6e85 |
|