]> bbs.cooldavid.org Git - net-next-2.6.git/commit
3c59x: handle pci_iomap() errors
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 21 Jul 2010 02:00:36 +0000 (02:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2010 21:07:36 +0000 (14:07 -0700)
commit8cd47ea19bf8c6f9d3a41b3c312237d007138ae0
tree72eac1187ecd3d633e216e95e6b28704995787ba
parent963bfeeeec913d135c15dc400f2f86cb62655d81
3c59x: handle pci_iomap() errors

pci_iomap() can fail, handle this case and return -ENOMEM from probe
function.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/3c59x.c