summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_sis.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-09-02 15:46:48 -0700
committerAndy Gross <agross@codeaurora.org>2015-10-14 14:51:21 -0500
commit50e1b29b4438bdb0be61ff41e6925cab6f8a9284 (patch)
treed756f80fc02c454bfb8f5dc36e9331c2a9d637eb /drivers/ata/pata_sis.c
parent3b781e55c6cb1afa5da7b2b1b2bb1b0c9ee7bf97 (diff)
soc: qcom: smd: Remove use of VLAIS
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. Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'drivers/ata/pata_sis.c')
0 files changed, 0 insertions, 0 deletions