projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1c4b7
)
sfc: modify allocation error message
author
Mike Travis
<
[email protected]
>
Tue, 12 May 2009 10:48:36 +0000
(10:48 +0000)
committer
David S. Miller
<
[email protected]
>
Sun, 17 May 2009 18:59:50 +0000
(11:59 -0700)
Change error message when alloc_cpumask_var fails.
Repairs "cpumask: convert drivers/net/sfc".
Signed-off-by: Mike Travis <
[email protected]
>
Acked-by: Ben Hutchings <
[email protected]
>
Acked-by: David S. Miller <
[email protected]
>
Cc: Rusty Russell <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/sfc/efx.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/efx.c
b/drivers/net/sfc/efx.c
index d3e240b736c73d97ed6241ea6e1b07bc1068e18c..bde8b7ac398a20544ad2f85716125331b9b31bb5 100644
(file)
--- a/
drivers/net/sfc/efx.c
+++ b/
drivers/net/sfc/efx.c
@@
-894,9
+894,9
@@
static int efx_wanted_rx_queues(void)
int count;
int cpu;
- if (
!alloc_cpumask_var(&core_mask, GFP_KERNEL
)) {
+ if (
unlikely(!alloc_cpumask_var(&core_mask, GFP_KERNEL)
)) {
printk(KERN_WARNING
- "
efx.c: allocation failure, irq balancing hobbled
\n");
+ "
sfc: RSS disabled due to allocation failure
\n");
return 1;
}