Re: [PATCH 6/6] drivers/ide: Convert printk(KERN_NOTICE topr_notice(

From: Joe Perches
Date: Mon May 18 2009 - 09:33:26 EST


On Mon, 2009-05-18 at 14:11 +0400, Sergei Shtylyov wrote:
> This patch creates lines > 80 chars long, co no ACK this time.

It makes grepping for log messages easier.
http://lkml.org/lkml/2009/4/8/607

> > - printk(KERN_NOTICE PFX "%s: %d bytes block size"
> > - " not supported\n", drive->name, length);
> > + pr_notice(PFX "%s: %d bytes block size not supported\n",
[]
> > - printk(KERN_NOTICE PFX "%s: Warning: "
> > - "non 512 bytes block size not "
> > - "fully supported\n",
> > - drive->name);
> > + pr_notice(PFX "%s: Warning: non 512 bytes block size not fully supported\n",
[]
> > - printk(KERN_NOTICE "ide-tape: %s: Unsupported request in "
> > - "request queue (%d)\n", drive->name, rq->cmd_type);
> > + pr_notice("ide-tape: %s: Unsupported request in request queue (%d)\n",

cheers, Joe

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