Messages in this thread | | | Date | Mon, 29 Jul 2013 14:24:01 +0200 | From | Maxime Ripard <> | Subject | Re: [PATCH 1/1] pinctrl: sunxi: Fix incorrect NULL check |
| |
On Mon, Jul 29, 2013 at 01:49:32PM +0530, Sachin Kamat wrote: > *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>
Thanks! Maxime
-- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com [unhandled content-type:application/pgp-signature] | |