Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.cz>2019-08-22 13:16:16 +0200
committerPetr Tesarik <ptesarik@suse.cz>2019-08-22 13:16:16 +0200
commit4feed72496297597e99d48d01e62a9a7589a0dce (patch)
tree4c2aad3f5d14bcfce078152e50906233779a2c9f
parentcfbf48894625a46afd7658775bb65bcfc1c4da7d (diff)
parentc7548950c875ea2f529ad9f49cfb0f172d79b960 (diff)
Merge branch 'users/dwagner/SLE15-SP1/for-next' into SLE15-SP1SLE15-SP1
Pull qla2xxx driver fix from Daniel Wagner suse-commit: 0181a93c80e7cb5c96f62b320766635ceeab3f8d
-rw-r--r--drivers/scsi/qla2xxx/qla_attr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index 515035979108..01447b3728a1 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -2729,9 +2729,8 @@ static void
qla2x00_get_host_fabric_name(struct Scsi_Host *shost)
{
scsi_qla_host_t *vha = shost_priv(shost);
- static const uint8_t node_name[WWN_SIZE] = {
- 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
- };
+ uint8_t node_name[WWN_SIZE] = { 0xFF, 0xFF, 0xFF, 0xFF, \
+ 0xFF, 0xFF, 0xFF, 0xFF};
u64 fabric_name = wwn_to_u64(node_name);
if (vha->device_flags & SWITCH_FOUND)