Commit 3977d033 authored by Mike Travis's avatar Mike Travis Committed by David S. Miller

sfc: modify allocation error message

Change error message when alloc_cpumask_var fails.

Repairs "cpumask: convert drivers/net/sfc".
Signed-off-by: default avatarMike Travis <travis@sgi.com>
Acked-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb1c4b71
...@@ -894,9 +894,9 @@ static int efx_wanted_rx_queues(void) ...@@ -894,9 +894,9 @@ static int efx_wanted_rx_queues(void)
int count; int count;
int cpu; int cpu;
if (!alloc_cpumask_var(&core_mask, GFP_KERNEL)) { if (unlikely(!alloc_cpumask_var(&core_mask, GFP_KERNEL))) {
printk(KERN_WARNING printk(KERN_WARNING
"efx.c: allocation failure, irq balancing hobbled\n"); "sfc: RSS disabled due to allocation failure\n");
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment