commit | 09d306d79dd784415c37363c02b5d9eb0157d9a4 | [log] [tgz] |
---|---|---|
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | Sun Jul 31 09:58:44 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 01 13:32:51 2016 -0700 |
tree | cf3e94839d8f7b29b337296d68fe8f660dc9030e | |
parent | 59d53bc213efed3cb40eae2a8273eafd884786a1 [diff] |
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>