Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373Ab3GVWf5 (ORCPT ); Mon, 22 Jul 2013 18:35:57 -0400 Received: from mail-ob0-f170.google.com ([209.85.214.170]:53068 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751645Ab3GVWf4 (ORCPT ); Mon, 22 Jul 2013 18:35:56 -0400 MIME-Version: 1.0 In-Reply-To: <1374008808.1949.37.camel@joe-AO722> References: <1373896210-21316-1-git-send-email-standby24x7@gmail.com> <1374003464-32302-1-git-send-email-standby24x7@gmail.com> <1374008808.1949.37.camel@joe-AO722> Date: Tue, 23 Jul 2013 00:35:55 +0200 Message-ID: Subject: Re: crypto: ux500: Fix logging, make arrays const, neatening From: Linus Walleij To: Joe Perches Cc: Masanari Iida , Andreas Westin , LKML , Herbert Xu , linux-crypto Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 33 On Tue, Jul 16, 2013 at 11:06 PM, Joe Perches 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_, 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 > --- > > On top of Masanari Iida's patch: > https://patchwork.kernel.org/patch/2828273/ Acked-by: Linus Walleij 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/