From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751961AbcF0LUg (ORCPT ); Mon, 27 Jun 2016 07:20:36 -0400 Received: from ozlabs.org ([103.22.144.67]:52081 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750870AbcF0LUf (ORCPT ); Mon, 27 Jun 2016 07:20:35 -0400 Message-ID: <1467026427.29808.4.camel@ellerman.id.au> Subject: Re: powerpc/fadump: trivial fix of spelling mistake, clean up message From: Michael Ellerman To: Joe Perches , Colin Ian King , Benjamin Herrenschmidt , Paul Mackerras , Jiri Kosina , Rasmus Villemoes , Andrew Morton , linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org Date: Mon, 27 Jun 2016 21:20:27 +1000 In-Reply-To: <1467024695.1847.87.camel@perches.com> References: <3rcf3g63Wnz9s5Q@ozlabs.org> <5771021E.3050305@canonical.com> <1467024695.1847.87.camel@perches.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2016-06-27 at 03:51 -0700, Joe Perches wrote: > On Mon, 2016-06-27 at 11:38 +0100, Colin Ian King wrote: > > On 26/06/16 05:19, Michael Ellerman wrote: > > > On Fri, 2016-24-06 at 17:43:00 UTC, Colin King wrote: > > > > trivial fix to spelling mistake "rgistration" and minor clean up > > > > of the printk error message > > > Can you also: > > > - use pr_err() > > > - unsplit the message, ie. keep the string all on one line. > > I can unsplit the string, but checkpatch will complain about that, so > > I'm not sure if that's preferred or not. > > > > WARNING: line over 80 characters > > If the statement is wrapped after the format, > then checkpatch shouldn't complain. > > pr_err("Failed to invalidate firmware-assisted dump registration. Unexpected error (%d).\n", > rc); But that's not actually any more readable, so just ignore checkpatch in this case IMHO. It's a guide, not the gospel. cheers