diff options
| author | James Smart <jsmart2021@gmail.com> | 2020-01-27 16:23:06 -0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-10 22:46:56 -0500 |
| commit | a99c80742af4b58bfd2d16cada8ee73cb9618649 (patch) | |
| tree | a634675bc890e6632ac31f7800ff55aa7d63227a /tools/perf/scripts/python | |
| parent | 821bc882accaaaf1bbecf5c0ecef659443e3e8cb (diff) | |
| download | linux-a99c80742af4b58bfd2d16cada8ee73cb9618649.tar.gz linux-a99c80742af4b58bfd2d16cada8ee73cb9618649.zip | |
scsi: lpfc: Fix compiler warning on frame size
The following error is see from the compiler:
drivers/scsi/lpfc/lpfc_init.c: In function
‘lpfc_cpuhp_get_eq’: drivers/scsi/lpfc/lpfc_init.c:12660:1:
error: the frame size of 1032 bytes is larger than 1024 bytes
[-Werror=frame-larger-than=]
The issue is due to allocating a cpumask on the stack.
Fix by converting to a dynamical allocation of the cpu mask.
Link: https://lore.kernel.org/r/20200128002312.16346-7-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
