Re: [PATCH] scsi: mark some messages as INFO/WARNING/ERROR

From: Joe Perches
Date: Wed Dec 07 2011 - 12:32:42 EST


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?


--
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/