[PATCH 30/30 v2] Staging: comedi: fix printk() issue in das16m1.c

Joe Perches joe at perches.com
Mon Jul 18 15:46:24 UTC 2011


On Mon, 2011-07-18 at 11:43 +0200, Jesper Juhl wrote:
> On Mon, 18 Jul 2011, Ravishankar wrote:
> > -	printk(" io 0x%lx-0x%lx 0x%lx-0x%lx",
> > +	printk(KERN_INFO " requesing the I/O region from 0x%lx-0x%lx 0x%lx-0x%lx",
> Correct spelling is "requesting" and the "from" should either have a 
> matching "to" or just be dropped IMHO.
> Personally I'd just make it:
> " requesting I/O region 0x%lx-0x%lx 0x%lx-0x%lx"
[]
> I think the original text was better.

KERN_INFO is the wrong level.

Just log the errors at KERN_ERR/pr_err and make the rest
pr_debug or delete them.




More information about the devel mailing list