diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2012-10-23 08:54:34 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-25 07:04:31 +0400 |
commit | a2fc66ce9f4669daeebc03d6891917b894c752a8 (patch) | |
tree | 3f362f7dff5c7af02776c1b829520c4e84e43d9a /drivers/net/ethernet/micrel/ks8851_mll.c | |
parent | 37561f68bd527ec39076e32effdc7b1dcdfb17ea (diff) | |
download | linux-a2fc66ce9f4669daeebc03d6891917b894c752a8.tar.xz |
pch_gbe: fix error handling in pch_gbe_up()
If we fail to allocate rx buffers pool by any reason, we'll just return
with an error, however we've previously successfully requested an irq. Fix
this by releasing the irq before returning the error.
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel/ks8851_mll.c')
0 files changed, 0 insertions, 0 deletions