diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-03-27 18:11:03 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-03-29 10:02:51 -0400 |
commit | 872e192fab643887f143106eb56443d87e5e87c1 (patch) | |
tree | 7221e8e783094a106fcabf1695a0dee1c3cdab92 /include/media | |
parent | d6e2635b9cf7982102750c5d9e4ba1474afa0981 (diff) | |
download | linux-872e192fab643887f143106eb56443d87e5e87c1.tar.gz linux-872e192fab643887f143106eb56443d87e5e87c1.tar.bz2 linux-872e192fab643887f143106eb56443d87e5e87c1.zip |
scsi: qedi: remove declaration of nvm_image from stack
The nvm_image is a large struct qedi_nvm_iscsi_image object of over 24K so
don't declare it on the stack just for a sizeof requirement; use sizeof on
struct qedi_nvm_iscsi_image instead.
Fixes: c77a2fa3ff8f ("scsi: qedi: Add the CRC size within iSCSI NVM image")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions