On Mon, Mar 5, 2018 at 7:09 PM, Leon Romanovsky <leon@xxxxxxxxxx> wrote: > From: Max Gurtovoy <maxg@xxxxxxxxxxxx> > > Fix warning limit for kernel stack consumption: > > drivers/infiniband/core/cq.c: In function 'ib_process_cq_direct': > drivers/infiniband/core/cq.c:78:1: error: the frame size of 1032 bytes > is larger than 1024 bytes [-Werror=frame-larger-than=] > > Using smaller ib_wc array on the stack brings us comfortably below that > limit again. > > Fixes: 246d8b184c10 ("IB/cq: Don't force IB_POLL_DIRECT poll context for ib_process_cq_direct") > Reported-by: Arnd Bergmann <arnd@xxxxxxxx> > Reviewed-by: Sergey Gorenko <sergeygo@xxxxxxxxxxxx> > Signed-off-by: Max Gurtovoy <maxg@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> Acked-by: Arnd Bergmann <arnd@xxxxxxxx> Thanks a lot for addressing this! -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html