Home Home > GIT Browse > openSUSE-42.3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Koutný <mkoutny@suse.com>2019-01-10 17:42:38 +0100
committerMichal Koutný <mkoutny@suse.com>2019-01-14 19:22:07 +0100
commitae92107a92124feaf510ad03b316eca80759a067 (patch)
tree3332f0e55de7a8d2b306f0d27891bdf4267080b1
parentae94ec19572120b2c173245f717b2ed4ab5815ba (diff)
housekeeping: fold fix into patches.drivers/hpsa-fallback-to-use-legacy-REPORT-PHYS-command.patch
There was a bug in the initial patch prior to upstreaming that was discovered and fixed.
-rw-r--r--patches.drivers/hpsa-fallback-to-use-legacy-REPORT-PHYS-command.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches.drivers/hpsa-fallback-to-use-legacy-REPORT-PHYS-command.patch b/patches.drivers/hpsa-fallback-to-use-legacy-REPORT-PHYS-command.patch
index e41fac31cc..9baf9bf9f9 100644
--- a/patches.drivers/hpsa-fallback-to-use-legacy-REPORT-PHYS-command.patch
+++ b/patches.drivers/hpsa-fallback-to-use-legacy-REPORT-PHYS-command.patch
@@ -43,7 +43,7 @@ index efe2f36..2b0b9d7 100644
+
+ /* Copy ReportLUNdata header */
+ memcpy(buf, lbuf, 8);
-+ nphys = be32_to_cpu(*((__be32 *)lbuf->LUNListLength)) / 24;
++ nphys = be32_to_cpu(*((__be32 *)lbuf->LUNListLength)) / 8;
+ for (i = 0; i < nphys; i++)
+ memcpy(buf->LUN[i].lunid, lbuf->LUN[i], 8);
+ }