]> err.no Git - linux-2.6/commit
r6040: rework init_one error handling
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Mon, 21 Jul 2008 10:32:29 +0000 (12:32 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 23 Jul 2008 00:00:01 +0000 (20:00 -0400)
commitb0e453902ad53580a77c2b1baddcc0b2d8ce8acc
tree6e58208b5872fe4a18c0aa52cd1e2fc32180defc
parent1de95294f16cab0e924e1b4cd9b554a6eca65e6e
r6040: rework init_one error handling

This patch reworks the error handling in r6040_init_one
in order not to leak resources and correcly unmap and release
PCI regions of the MAC. Also prefix printk's with the driver name
for clarity.

Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/r6040.c