[PATCH 01/24] Staging: comedi: fix printk issue in das6402.c

Greg KH greg at kroah.com
Sun Oct 23 01:18:11 PDT 2011


On Thu, Oct 20, 2011 at 11:48:47AM +0530, Ravishankar Karkala Mallikarjunayya wrote:
> This is a patch to the das6402.c file that fixes up a printk warning
> found by the checkpatch.pl tool.
> Added #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

Why is this needed?  dev_printk() doesn't use it, right?  So it
shouldn't be needed here, or am I missing something?

greg k-h


More information about the devel mailing list