commit | 2405e8f64c14a2cc9967f1f9bbeb1ba48b6cc2a1 | [log] [tgz] |
---|---|---|
author | Byungho An <bh74.an@samsung.com> | Fri Mar 28 10:57:44 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 28 14:42:24 2014 -0400 |
tree | b90594ff4db31c3d5cd16c6b626b307a2552fc56 | |
parent | 40b92cad5efb9a03cff2f01dc96532e1a6bffa14 [diff] |
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 <fengguang.wu@intel.com> Signed-off-by: Byungho An <bh74.an@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>