Re: [PATCH] add prink KERN_* suffixes

Robert Love (rml@tech9.net)
13 Mar 2003 16:43:00 -0500


On Thu, 2003-03-13 at 11:41, Daniele Venzano wrote:
> /* Read in the station address. */
> for (i = 0; i < 6; i++)
> - printk(" %2.2x", dev->dev_addr[i]);
> - printk(", IRQ %d.\n", dev->irq);
> + printk(KERN_INFO " %2.2x", dev->dev_addr[i]);
> + printk(KERN_INFO ", IRQ %d.\n", dev->irq);

The loglevels only work after a newline.

What you can do is printk() the loglevel before the for loop. Or just
leave this one alone.

Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/