On Wed, 2012-01-11 at 23:22 +0100, Szymon Janc wrote: > Signed-off-by: Szymon Janc <szymon@xxxxxxxxxxx> trivia: > diff --git a/drivers/staging/quickstart/quickstart.c b/drivers/staging/quickstart/quickstart.c [] > @@ -25,6 +25,8 @@ [] > +#define pr_fmt(fmt) KBUILD_MODNAME": " fmt Add a space please between KBUILD_MODNAME and the quoted string. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt [] > @@ -207,9 +209,8 @@ static int quickstart_acpi_ghid(struct quickstart_acpi *quickstart) > quickstart->button->id = *(uint64_t *)buffer.pointer; > break; > default: > - printk(KERN_ERR "quickstart: %s GHID method returned buffer " > - "of unexpected length %u\n", > - quickstart->button->name, buffer.length); > + pr_err("%s GHID method returned buffer of unexpected length %u" > + "\n", quickstart->button->name, buffer.length); Please try not to break format strings into multiple bits. It's very error prone and can make it harder to grep. It's OK to have the line with the format exceed 80 chars. pr_err("%s GHID method returned buffer of unexpected length %u\n", quickstart->button->name, buffer.length); _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel