lkml.org 
[lkml]   [2009]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 6/6] drivers/ide: Convert printk(KERN_NOTICE to pr_notice(
From
Date
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



\
 
 \ /
  Last update: 2009-05-18 15:35    [W:0.091 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site