diff options
Diffstat (limited to 'openpower/linux/linux-0008-aacraid-Fix-for-LD-name-and-UID-not-exposed-to-OS.patch')
-rw-r--r-- | openpower/linux/linux-0008-aacraid-Fix-for-LD-name-and-UID-not-exposed-to-OS.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/openpower/linux/linux-0008-aacraid-Fix-for-LD-name-and-UID-not-exposed-to-OS.patch b/openpower/linux/linux-0008-aacraid-Fix-for-LD-name-and-UID-not-exposed-to-OS.patch new file mode 100644 index 00000000..0c0ae0f2 --- /dev/null +++ b/openpower/linux/linux-0008-aacraid-Fix-for-LD-name-and-UID-not-exposed-to-OS.patch @@ -0,0 +1,41 @@ +From a4f608b4005ba460bf0f58297f3362b733a43424 Mon Sep 17 00:00:00 2001 +From: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> +Date: Fri, 28 Aug 2015 06:38:33 -0400 +Subject: [PATCH 08/18] aacraid: Fix for LD name and UID not exposed to OS + +Driver sends the right size of the response buffer. + +Reviewed-by: Tomas Henzl <thenzl@redhat.com> +Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> +Reviewed-by: Karthikeya Sunkesula <Karthikeya.Sunkesula@pmcs.com> +Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> +Signed-off-by: Joel Stanley <joel@jms.id.au> +--- + drivers/scsi/aacraid/aachba.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c +index 9b3dd6e..fe59b00 100644 +--- a/drivers/scsi/aacraid/aachba.c ++++ b/drivers/scsi/aacraid/aachba.c +@@ -570,7 +570,7 @@ static int aac_get_container_name(struct scsi_cmnd * scsicmd) + + status = aac_fib_send(ContainerCommand, + cmd_fibcontext, +- sizeof (struct aac_get_name), ++ sizeof(struct aac_get_name_resp), + FsaNormal, + 0, 1, + (fib_callback)get_container_name_callback, +@@ -1052,7 +1052,7 @@ static int aac_get_container_serial(struct scsi_cmnd * scsicmd) + + status = aac_fib_send(ContainerCommand, + cmd_fibcontext, +- sizeof (struct aac_get_serial), ++ sizeof(struct aac_get_serial_resp), + FsaNormal, + 0, 1, + (fib_callback) get_container_serial_callback, +-- +2.5.0 + |