Re: [PATCH v2 05/11] fblog: register one fblog object perframebuffer

From: Joe Perches
Date: Sun Jul 08 2012 - 18:13:44 EST


On Sun, 2012-07-08 at 23:56 +0200, David Herrmann wrote:
>

Hi David. Trivial comments only:

> diff --git a/drivers/video/console/fblog.c b/drivers/video/console/fblog.c
[]
> @@ -23,15 +23,204 @@
> * all fblog instances before running other graphics applications.
> */

Please add
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
before any #include and...

> static int __init fblog_init(void)
> {
> + int ret;
> +
> + ret = fb_register_client(&fblog_notifier);
> + if (ret) {
> + pr_err("fblog: cannot register framebuffer notifier");

Missing newline, pr_fmt would add module name.

pr_err("cannot register framebuffer notifier\n");



--
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/