Subject: [PATCH 05/16] myri10ge: don't warn on rx page allocation failure

From: Brice Goglin <[email-masked]>
Date: Fri, 09 May 2008 02:17:57 +0200

Don't warn when rx page allocations fail, the driver is written
to handle failures, and the huge amount of console output
generated by the warnings makes a bad situation worse.

Signed-off-by: Brice Goglin <[email-masked]>
Signed-off-by: Andrew Gallatin <[email-masked]>
---
 drivers/net/myri10ge/myri10ge.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/net/myri10ge/myri10ge.c
===================================================================
--- linux-2.6.orig/drivers/net/myri10ge/myri10ge.c	2008-05-09 00:03:32.000000000 +0200
+++ linux-2.6/drivers/net/myri10ge/myri10ge.c	2008-05-09 00:04:07.000000000 +0200
@@ -956,7 +956,7 @@
 		} else {
 			/* we need a new page */
 			page =
-			    alloc_pages(GFP_ATOMIC | __GFP_COMP,
+			    alloc_pages(GFP_ATOMIC | __GFP_COMP | __GFP_NOWARN,
 					MYRI10GE_ALLOC_ORDER);
 			if (unlikely(page == NULL)) {
 				if (rx->fill_cnt - rx->cnt < 16)