diff options
author | Leon Romanovsky <leon@kernel.org> | 2017-09-19 13:22:13 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-09-22 20:19:13 +0300 |
commit | e13547bc181ae6c279adf0df054717787f24ee89 (patch) | |
tree | d8f27a30c96df30f0b2929516058e236e7632af1 /drivers/infiniband/hw/hfi1/vnic.h | |
parent | cbafad87e1507044c7d442087d41d5e3d432cc4e (diff) | |
download | linux-e13547bc181ae6c279adf0df054717787f24ee89.tar.xz |
IB/bnxt_re: Fix frame stack compilation warning
Reduce stack size by dynamically allocating memory instead
of declaring large struct on the stack:
drivers/infiniband/hw/bnxt_re/ib_verbs.c: In function ‘bnxt_re_query_qp’:
drivers/infiniband/hw/bnxt_re/ib_verbs.c:1600:1: warning: the frame size of 1216 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
Cc: Selvin Xavier <selvin.xavier@broadcom.com>
Fixes: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/vnic.h')
0 files changed, 0 insertions, 0 deletions