Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2019-09-25 15:51:14 +0200
committerHannes Reinecke <hare@suse.de>2019-09-25 15:51:14 +0200
commit7173b2d861ba8f8de0f163e3436484ae81e833b1 (patch)
tree8ee72760da2d05bbb80f11757b6465adbe798d83
parentc219c413b05ede12d0e65b02fd978310ee02f478 (diff)
scsi: qla2xxx: Include the <asm/unaligned.h> header file from
qla_dsd.h (bsc#1150973).
-rw-r--r--patches.suse/scsi-qla2xxx-Include-the-asm-unaligned.h-header-file.patch38
-rw-r--r--series.conf1
2 files changed, 39 insertions, 0 deletions
diff --git a/patches.suse/scsi-qla2xxx-Include-the-asm-unaligned.h-header-file.patch b/patches.suse/scsi-qla2xxx-Include-the-asm-unaligned.h-header-file.patch
new file mode 100644
index 0000000000..7f30bb0ec4
--- /dev/null
+++ b/patches.suse/scsi-qla2xxx-Include-the-asm-unaligned.h-header-file.patch
@@ -0,0 +1,38 @@
+From: Bart Van Assche <bvanassche@acm.org>
+Date: Thu, 8 Aug 2019 20:01:26 -0700
+Subject: [PATCH] scsi: qla2xxx: Include the <asm/unaligned.h> header file from
+ qla_dsd.h
+Git-commit: ba0cef2532717354d90ea81dc47837d61c98defc
+Patch-Mainline: v5.4-rc1
+References: bsc#1150973
+
+Since the put_unaligned_*() macros are used in this header file, include
+the header file that defines these macros.
+
+Cc: Himanshu Madhani <hmadhani@marvell.com>
+Fixes: 15b7a68c1d03 ("scsi: qla2xxx: Introduce the dsd32 and dsd64 data structures") # v5.2-rc1.
+Signed-off-by: Bart Van Assche <bvanassche@acm.org>
+Tested-by: Himanshu Madhani <hmadhani@marvell.com>
+Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
+Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
+Acked-by: Hannes Reinecke <hare@suse.com>
+---
+ drivers/scsi/qla2xxx/qla_dsd.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/scsi/qla2xxx/qla_dsd.h b/drivers/scsi/qla2xxx/qla_dsd.h
+index 7479924ba422..20788054b91b 100644
+--- a/drivers/scsi/qla2xxx/qla_dsd.h
++++ b/drivers/scsi/qla2xxx/qla_dsd.h
+@@ -1,6 +1,8 @@
+ #ifndef _QLA_DSD_H_
+ #define _QLA_DSD_H_
+
++#include <asm/unaligned.h>
++
+ /* 32-bit data segment descriptor (8 bytes) */
+ struct dsd32 {
+ __le32 address;
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 8503bf4b53..b28bb57c9a 100644
--- a/series.conf
+++ b/series.conf
@@ -49801,6 +49801,7 @@
patches.suse/scsi-qla2xxx-Fix-hang-in-fcport-delete-path.patch
patches.suse/scsi-qla2xxx-Allow-NVMe-IO-to-resume-with-short-cabl.patch
patches.suse/scsi-qla2xxx-Update-driver-version-to-10.01.00.18-k.patch
+ patches.suse/scsi-qla2xxx-Include-the-asm-unaligned.h-header-file.patch
patches.suse/scsi-qla2xxx-qla2x00_alloc_fw_dump-set-ha-eft.patch
patches.suse/scsi-lpfc-remove-NULL-check-before-some-freeing-func.patch
patches.suse/scsi-lpfc-Limit-xri-count-for-kdump-environment.patch