From 2405e8f64c14a2cc9967f1f9bbeb1ba48b6cc2a1 Mon Sep 17 00:00:00 2001 From: Byungho An Date: Fri, 28 Mar 2014 10:57:44 -0700 Subject: [PATCH] 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-format-patch failed