[rds-devel] [PATCH] net: rds: Don't allocate rds_sock on stack

Arnd Bergmann arnd at arndb.de
Mon Aug 25 04:33:33 PDT 2014


On Sunday 24 August 2014 19:32:35 Mark Brown wrote:
> From: Mark Brown <broonie at linaro.org>
> 
> struct rds_sock is rather large ausing the following warning in an ARM
> allmodconfig:
> 
> net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> 
> Fix this by dynamically allocating struct rds_sock in rds_iw_update_cm_id
> instead of allocating it on the stack.
> 
> Signed-off-by: Mark Brown <broonie at linaro.org>
> 

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the rds-devel mailing list