Re: patch Staging-comedi-fix-coding-style-issues.patch

From: Ameya Palande
Date: Sat Feb 27 2010 - 06:00:21 EST


Hi Stewart,

On Sat, Feb 27, 2010 at 12:37 PM, Stewart Robertson
<stewart_r@xxxxxxxxxxxxxx> wrote:
> I did some research and had a go at fixing the warning
> 'WARNING: printk() should include KERN_ facility level'
> by adding KERN_INFO in front of the quoted text. Please let me know if that
> is the right thing to do and if not,
> what I should do instead.

Yes this is right thing to do "printk(KERN_INFO "");"
You can also do pr_info("");

Cheers,
Ameya.
--
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/