aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/8390/pcnet_cs.c
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2016-07-31 09:58:44 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-01 13:32:51 -0700
commit09d306d79dd784415c37363c02b5d9eb0157d9a4 (patch)
treecf3e94839d8f7b29b337296d68fe8f660dc9030e /drivers/net/ethernet/8390/pcnet_cs.c
parentnet: caif: use correct format specifier (diff)
downloadlinux-dev-09d306d79dd784415c37363c02b5d9eb0157d9a4.tar.xz
linux-dev-09d306d79dd784415c37363c02b5d9eb0157d9a4.zip
net: ethernet: ax88796: avoid null pointer dereference
If platform_get_resource fails, mem2 is null. Do not dereference null. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390/pcnet_cs.c')
0 files changed, 0 insertions, 0 deletions