]> git.baikalelectronics.ru Git - kernel.git/commit
via-rhine: Disable device in error path
authorRoger Luethi <rl@hellgate.ch>
Tue, 18 Mar 2014 17:14:01 +0000 (18:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Mar 2014 20:08:29 +0000 (16:08 -0400)
commit77609fd8e4be28a940269e6c27d0c9b285634915
treead7ea2d80a7cad3fc1431d158281d2a540e18cb3
parenteda85a88a27196b4d9cfd7d5e6fcc52c9245ffa7
via-rhine: Disable device in error path

Currently, via-rhine fails to call pci_disable_device() for errors
in rhine_init_one().

Reported-by: Huqiu Liu <liuhq11@mails.tsinghua.edu.cn>
Signed-off-by: Roger Luethi <rl@hellgate.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-rhine.c