[PATCH 1/1] net: e100: add KERN_ERR constant to printk function call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add KERN_ERR constant to printk function call.

Signed-off-by: Adam Spotton <aspotton@xxxxxxxxx>
---

diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index e8bfcce..26d9c3d 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -909,7 +909,7 @@ static u16 mdio_ctrl(struct nic *nic, u32 addr,
u32 dir, u32 reg, u16 data)
 		udelay(20);
 	}
 	if (unlikely(!i)) {
-		printk("e100.mdio_ctrl(%s) won't go Ready\n",
+		printk(KERN_ERR "e100.mdio_ctrl(%s) won't go Ready\n",
 			nic->netdev->name );
 		spin_unlock_irqrestore(&nic->mdio_lock, flags);
 		return 0;		/* No way to indicate timeout error */
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux