linux-stable/drivers/infiniband/hw/hfi1
Leon Romanovsky f242d93ae9 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: f48ad614c1 ("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>
2016-06-06 19:16:52 -04:00
..
affinity.c IB/hfi1: Avoid large frame size warning 2016-06-06 19:16:52 -04:00
affinity.h
aspm.h
chip.c IB/hfi1: Update pkey table properly after link down or FM start 2016-05-26 12:21:10 -04:00
chip.h IB/hfi1: Correct 8051 link parameter settings 2016-05-26 12:21:10 -04:00
chip_registers.h
common.h
debugfs.c
debugfs.h
device.c
device.h
dma.c
driver.c
efivar.c
efivar.h
eprom.c
eprom.h
file_ops.c
firmware.c
hfi.h
init.c IB/hfi1: fix some indenting 2016-06-06 19:15:07 -04:00
intr.c
iowait.h
Kconfig
mad.c IB/hfi1: Update pkey table properly after link down or FM start 2016-05-26 12:21:10 -04:00
mad.h
Makefile
mmu_rb.c
mmu_rb.h
opa_compat.h
pcie.c
pio.c IB/hfi1: Fix pio map initialization 2016-05-26 12:21:10 -04:00
pio.h
pio_copy.c
platform.c IB/hfi1: Correct 8051 link parameter settings 2016-05-26 12:21:10 -04:00
platform.h
qp.c IB/hfi1: Fix hard lockup due to not using save/restore spin lock 2016-05-26 12:21:10 -04:00
qp.h
qsfp.c
qsfp.h
rc.c
ruc.c
sdma.c
sdma.h
sdma_txreq.h
sysfs.c
trace.c IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
trace.h IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
twsi.c
twsi.h
uc.c
ud.c
user_exp_rcv.c
user_exp_rcv.h
user_pages.c
user_sdma.c
user_sdma.h
verbs.c IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
verbs.h
verbs_txreq.c
verbs_txreq.h