diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2016-05-31 10:54:36 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-07 02:16:52 +0300 |
commit | f242d93ae92032f78840471e5c2bfc2d04ae324c (patch) | |
tree | bc1ef64dbc2236520bce90fb66dc7c9a7faf8a74 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a8b7da58ec81e74a3a6982e2dba24f899b56c915 (diff) | |
download | linux-f242d93ae92032f78840471e5c2bfc2d04ae324c.tar.xz |
IB/hfi1: Avoid large frame size warning
When CONFIG_FRAME_WARN is set to 1024 bytes, which is useful to find
stack consumers, we get a warning in hfi1 driver.
drivers/infiniband/hw/hfi1/affinity.c: In function
‘hfi1_get_proc_affinity’:
drivers/infiniband/hw/hfi1/affinity.c:415:1: warning: the frame size of
1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
This change removes unneeded buf[1024] declaration and usage.
Fixes: f48ad614c100 ("IB/hfi1: Move driver out of staging")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions