]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
smsc911x: Add check for ioremap_nocache() return code
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Wed, 12 Jul 2017 20:58:56 +0000 (23:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jul 2017 21:35:43 +0000 (14:35 -0700)
commit57fe14790b88122fb34b68308b9aa9a643457ea7
tree98d843989a9d6787772deb76a38f079dae5a58a8
parent8f44c9a41386729fea410e688959ddaa9d51be7c
smsc911x: Add check for ioremap_nocache() return code

There is no check for return code of smsc911x_drv_probe()
in smsc911x_drv_probe(). The patch adds one.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c