[PATCH v2 5/8] soc: qcom: smd: Remove use of VLAIS

Bjorn Andersson bjorn.andersson at sonymobile.com
Thu Sep 3 10:02:33 PDT 2015


On Wed 02 Sep 15:46 PDT 2015, Stephen Boyd wrote:

> Usage of VLAIS prevents clang from compiling this file, and it
> also opens us to the possibility of allocating a large structure
> on the stack to the point that we blow past the limit of the
> kernel stack. Remove the VLAIS and allocate a structure on the
> heap with kmalloc so that we're safer and more clang friendly.
> 
Reviewed-by: Bjorn Andersson <bjorn.andersson at sonymobile.com>



More information about the linux-arm-kernel mailing list