From: Sachin Kamat Date: Mon, 29 Jul 2013 08:19:32 +0000 (+0530) Subject: pinctrl: sunxi: Fix incorrect NULL check X-Git-Tag: v3.12-rc1~151^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3efa921d5b50c045259f6556262fed77dfecec86;p=pandora-kernel.git 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 Acked-by: Maxime Ripard Signed-off-by: Linus Walleij --- Reading git-diff-tree failed