[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaUQaDbtr5rOyob_G5ggSZLUVOWU+TmhL51Jw_c0S+T0A@mail.gmail.com>
Date: Tue, 23 Jul 2013 00:35:55 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Joe Perches <joe@...ches.com>
Cc: Masanari Iida <standby24x7@...il.com>,
Andreas Westin <andreas.westin@...ricsson.com>,
LKML <linux-kernel@...r.kernel.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
linux-crypto <linux-crypto@...r.kernel.org>
Subject: Re: crypto: ux500: Fix logging, make arrays const, neatening
On Tue, Jul 16, 2013 at 11:06 PM, Joe Perches <joe@...ches.com> wrote:
> Logging messages without newlines are possibly interleaved
> with other messages. Add terminating newlines to avoid
> this.
>
> Other miscellaneous changes:
>
> Make arrays const to reduce data size
> Add pr_fmt to prefix pr_<level>, remove now unused DEV_DBG_NAME
> Coalesce formats, align arguments
> Remove unnecessary OOM messages as dump_stack is already done
> Remove unnecessary cast of void *
> Change kzalloc(sizeof(struct)...) to kzalloc(sizeof(*var), ...)
> Reduce indents in struct definitions
>
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
>
> On top of Masanari Iida's patch:
> https://patchwork.kernel.org/patch/2828273/
Acked-by: Linus Walleij <linus.walleij@...aro.org>
Have you tested this on hardware or is it compile-tested only?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists