]> git.baikalelectronics.ru Git - kernel.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)
commita2952b71fd74eac23e3301a1f7c896b164b002b2
tree72eac1187ecd3d633e216e95e6b28704995787ba
parentd833ef35e82b6dbb46246e24757dacc7d4179879
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