summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/allwinner/sun4i-emac.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-02-25 16:35:32 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-27 23:53:43 +0300
commite65ad3be869b45f90a401d8ce4d4e7381c99ceb0 (patch)
tree78ccf9b93c8575e8e15ec9265da7f6baccb63915 /drivers/net/ethernet/allwinner/sun4i-emac.c
parentf01aa633e040e52603b8defd2263691d15b86cb0 (diff)
downloadlinux-e65ad3be869b45f90a401d8ce4d4e7381c99ceb0.tar.xz
rocker: add a check for NULL in rocker_probe_ports()
Make sure kmalloc() succeeds. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/allwinner/sun4i-emac.c')
0 files changed, 0 insertions, 0 deletions