diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-18 12:53:39 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-22 23:18:09 +0100 |
commit | 23b98e4b5fc5efd1d5d5f018bc7f954cd119f538 (patch) | |
tree | 51c60a60602a659979fe6342abd3021a6888f4f4 /drivers/scsi/lpfc | |
parent | scsi: mpt3sas: Unblock device after controller reset (diff) | |
download | linux-23b98e4b5fc5efd1d5d5f018bc7f954cd119f538.tar.xz linux-23b98e4b5fc5efd1d5d5f018bc7f954cd119f538.zip |
scsi: be2iscsi: allocate enough memory in beiscsi_boot_get_sinfo()
We accidentally allocate sizeof(u32) instead of sizeof(struct
be_cmd_get_session_resp).
Fixes: 50a4b824be9e ("scsi: be2iscsi: Fix to make boot discovery non-blocking")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc')
0 files changed, 0 insertions, 0 deletions