lkml.org 
[lkml]   [2011]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] scsi: mark some messages as INFO/WARNING/ERROR
From
Date
On Wed, 2011-12-07 at 17:52 +0100, Tom Gundersen wrote:
> This reduces the noice
[]
> diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
[]
> @@ -416,7 +416,7 @@ static int sr_prep_fn(struct request_queue *q, struct request *rq)
> if (!in_interrupt())
> sr_set_blocklength(cd, 2048);
> else
> - printk("sr: can't switch blocksize: in interrupt\n");
> + printk(KERN_WARNING "sr: can't switch blocksize: in interrupt\n");

Maybe this should be KERN_ERR?




\
 
 \ /
  Last update: 2011-12-07 18:35    [W:0.026 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site