[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1323279162.1762.51.camel@joe2Laptop>
Date: Wed, 07 Dec 2011 09:32:42 -0800
From: Joe Perches <joe@...ches.com>
To: Tom Gundersen <teg@...m.no>
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: mark some messages as INFO/WARNING/ERROR
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists