summaryrefslogtreecommitdiff
path: root/kernel/rtmutex-debug.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-29 13:49:32 +0530
committerLinus Walleij <linus.walleij@linaro.org>2013-08-07 22:29:39 +0200
commit3efa921d5b50c045259f6556262fed77dfecec86 (patch)
treecf61781afd602bd24f316c90066fc956bf00f293 /kernel/rtmutex-debug.c
parent8a9dcc3ffed66bf6f66c45b11f34de02b0fda4a0 (diff)
pinctrl: sunxi: Fix incorrect NULL check
*map should be tested for NULL instead of map as kmalloc pointer is assigned to it. This also fixes a potential null pointer dereference bug later in the code. 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 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions