aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/sfc/efx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index d3e240b736c7..bde8b7ac398a 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -894,9 +894,9 @@ static int efx_wanted_rx_queues(void)
894 int count; 894 int count;
895 int cpu; 895 int cpu;
896 896
897 if (!alloc_cpumask_var(&core_mask, GFP_KERNEL)) { 897 if (unlikely(!alloc_cpumask_var(&core_mask, GFP_KERNEL))) {
898 printk(KERN_WARNING 898 printk(KERN_WARNING
899 "efx.c: allocation failure, irq balancing hobbled\n"); 899 "sfc: RSS disabled due to allocation failure\n");
900 return 1; 900 return 1;
901 } 901 }
902 902