Reviewed-by: Murthy Bhat <[email protected]>

-----Original Message-----
From: Karthikeya Sunkesula 
Sent: Tuesday, August 25, 2015 11:56 AM
To: Mahesh Rajashekhara; Tomas Henzl; [email protected]; 
[email protected]
Cc: [email protected]; Harry Yang; Rich Bono; Murthy Bhat
Subject: RE: [PATCH V6 01/10] [SCSI] aacraid: Fix for logical device name and 
UID not exposed to the OS

Reviewed-by: Karthikeya Sunkesula <[email protected]>

-----Original Message-----
From: Mahesh Rajashekhara 
Sent: Tuesday, August 11, 2015 11:28 AM
To: Tomas Henzl; [email protected]; [email protected]
Cc: [email protected]; Harry Yang; Rich Bono; Mahesh Rajashekhara
Subject: [PATCH V6 01/10] [SCSI] aacraid: Fix for logical device name and UID 
not exposed to the OS

Description:
        Driver sends the right size of the response buffer.

Changes from V2:
None

Signed-off-by: Mahesh Rajashekhara <[email protected]>
---
 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,
--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to