Commit d863e27c authored by Lee Jones's avatar Lee Jones Committed by Treehugger Robot
Browse files

UPSTREAM: scsi: bfa: Move a large struct from the stack onto the heap

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/bfa/bfa_fcs_lport.c: In function ‘bfa_fcs_lport_fdmi_build_rhba_pyld’:
 drivers/scsi/bfa/bfa_fcs_lport.c:2152:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Bug: 261962742
Link: https://lore.kernel.org/r/20210312094738.2207817-15-lee.jones@linaro.org


Cc: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Cc: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit a7a11b6c)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I9d266d1fd3546d198e163b9186f9eae836f7572a
parent 20c4fa4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment