projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba0516
)
cxgb3 - fix MSI-X failure path
author
Divy Le Ray
<divy@chelsio.com>
Fri, 16 Nov 2007 19:21:39 +0000
(11:21 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:04:06 +0000
(15:04 -0800)
Return error code when msi-x settings fail.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cxgb3/cxgb3_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cxgb3/cxgb3_main.c
b/drivers/net/cxgb3/cxgb3_main.c
index 61ffc925eae777b065c37dea73c9b938e49ccd8e..bb0d1c841c0f068832788cca36e73b83c03dec0a 100644
(file)
--- a/
drivers/net/cxgb3/cxgb3_main.c
+++ b/
drivers/net/cxgb3/cxgb3_main.c
@@
-839,7
+839,8
@@
static int cxgb_up(struct adapter *adap)
if (err)
goto irq_err;
- if (request_msix_data_irqs(adap)) {
+ err = request_msix_data_irqs(adap);
+ if (err) {
free_irq(adap->msix_info[0].vec, adap);
goto irq_err;
}