diff options
| author | James Smart <[email protected]> | 2020-01-27 16:23:06 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-02-10 22:46:56 -0500 |
| commit | a99c80742af4b58bfd2d16cada8ee73cb9618649 (patch) | |
| tree | a634675bc890e6632ac31f7800ff55aa7d63227a /tools/perf/scripts/python | |
| parent | 821bc882accaaaf1bbecf5c0ecef659443e3e8cb (diff) | |
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/[email protected]
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions