summaryrefslogtreecommitdiff
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-05-30 10:20:52 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2014-06-19 07:34:56 (GMT)
commitbd07894e217b174361711320be50c8308456096d (patch)
treec641beb3279edfca46b9d9619ece020449d47914 /mm/readahead.c
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-bd07894e217b174361711320be50c8308456096d.tar.xz
pinctrl: sunxi: Fix potential null pointer dereference
kzalloc can fail. Add a null check to avoid null pointer dereference error while accessing the pointer later. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions