ehea: Fixing some message level
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Mon, 20 Dec 2010 18:35:25 +0000 (10:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 18:35:25 +0000 (10:35 -0800)
Currently there are some info message that is set as error, and an error
message that is set as debug. This patch just fixes it.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ehea/ehea_main.c

index 0dfef6d..1032b5b 100644 (file)
@@ -740,13 +740,13 @@ static int ehea_proc_rwqes(struct net_device *dev,
                                                          skb_arr_rq1_len,
                                                          wqe_index);
                                if (unlikely(!skb)) {
-                                       netif_err(port, rx_err, dev,
+                                       netif_info(port, rx_err, dev,
                                                  "LL rq1: skb=NULL\n");
 
                                        skb = netdev_alloc_skb(dev,
                                                               EHEA_L_PKT_SIZE);
                                        if (!skb) {
-                                               netdev_info(dev, "Not enough memory to allocate skb\n");
+                                               netdev_err(dev, "Not enough memory to allocate skb\n");
                                                break;
                                        }
                                }