diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-03-27 21:11:03 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-03-29 17:02:51 +0300 |
commit | 872e192fab643887f143106eb56443d87e5e87c1 (patch) | |
tree | 7221e8e783094a106fcabf1695a0dee1c3cdab92 /scripts/gen_compile_commands.py | |
parent | d6e2635b9cf7982102750c5d9e4ba1474afa0981 (diff) | |
download | linux-872e192fab643887f143106eb56443d87e5e87c1.tar.xz |
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 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions