From: Sachin Kamat Date: Fri, 30 May 2014 10:20:52 +0000 (+0530) Subject: pinctrl: sunxi: Fix potential null pointer dereference X-Git-Tag: omap-for-v3.17/fixes-against-rc2~329^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd07894e217b174361711320be50c8308456096d;p=pandora-kernel.git 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 Acked-by: Maxime Ripard Signed-off-by: Linus Walleij --- Reading git-diff-tree failed