-
由 Leon Romanovsky 提交于
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: 1ac5a404 ("RDMA/bnxt_re: Add bnxt_re RoCE driver") Signed-off-by: NLeon Romanovsky <leon@kernel.org> Acked-by: NSelvin Xavier <selvin.xavier@broadcom.com> Reviewed-by: NJonathan Toppins <jtoppins@redhat.com> Signed-off-by: NDoug Ledford <dledford@redhat.com>
e13547bc