From: Byungho An Date: Fri, 28 Mar 2014 17:57:44 +0000 (-0700) Subject: net: sxgbe: fix potential null dereference X-Git-Tag: v3.15-rc1~113^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2405e8f64c14a2cc9967f1f9bbeb1ba48b6cc2a1;p=pandora-kernel.git net: sxgbe: fix potential null dereference This fixes following: drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1828 sxgbe_hw_init() error: potential null dereference 'priv->hw'. (kmalloc returns null) Reported-by: kbuild test robot Signed-off-by: Byungho An Signed-off-by: David S. Miller --- Reading git-diff-tree failed