summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2016-05-31 10:54:36 +0300
committerDoug Ledford <dledford@redhat.com>2016-06-06 19:16:52 -0400
commitf242d93ae92032f78840471e5c2bfc2d04ae324c (patch)
treebc1ef64dbc2236520bce90fb66dc7c9a7faf8a74 /Documentation
parenta8b7da58ec81e74a3a6982e2dba24f899b56c915 (diff)
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 'Documentation')
0 files changed, 0 insertions, 0 deletions