diff options
author | Byungho An <bh74.an@samsung.com> | 2014-03-28 18:57:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 19:42:24 +0100 |
commit | 2405e8f64c14a2cc9967f1f9bbeb1ba48b6cc2a1 (patch) | |
tree | b90594ff4db31c3d5cd16c6b626b307a2552fc56 /Makefile | |
parent | net: sxgbe: fix sparse warnings about static declaration (diff) | |
download | linux-2405e8f64c14a2cc9967f1f9bbeb1ba48b6cc2a1.tar.xz linux-2405e8f64c14a2cc9967f1f9bbeb1ba48b6cc2a1.zip |
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions