From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755364AbcAMRLy (ORCPT ); Wed, 13 Jan 2016 12:11:54 -0500 Received: from mga02.intel.com ([134.134.136.20]:13519 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755090AbcAMRLx (ORCPT ); Wed, 13 Jan 2016 12:11:53 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,290,1449561600"; d="scan'208";a="632885244" Message-ID: <1452704938.26146.76.camel@linux.intel.com> Subject: Re: [PATCH v5 09/15] tty: serial: 8250: Fix multi-line strings From: Andy Shevchenko To: Anton Wuerfel , Greg Kroah-Hartman Cc: Jiri Slaby , "James E.J. Bottomley" , Helge Deller , Peter Hurley , Heikki Krogerus , Qipeng Zha , Desmond Liu , Wang Long , Matt Redfearn , Paul Burton , Ralf Baechle , Krzysztof Kozlowski , Peter Hung , Soeren Grunewald , Adam Lee , "Maciej S. Szmigiero" , Mans Rullgard , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linux-kernel@i4.cs.fau.de, Phillip Raffeck Date: Wed, 13 Jan 2016 19:08:58 +0200 In-Reply-To: <1452703171-5632-10-git-send-email-anton.wuerfel@fau.de> References: <1452703171-5632-1-git-send-email-anton.wuerfel@fau.de> <1452703171-5632-10-git-send-email-anton.wuerfel@fau.de> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2016-01-13 at 17:39 +0100, Anton Wuerfel wrote: > Merged user-visible multi-line strings into a single line according > to the > Linux Kernel Coding Style, which allows user-visible strings to > exceed the > maximum line length of 80 characters. The main reason for this is to > facilitate grepping for these strings. > However, some strings were ignored in this patch, because the use of > format specifiers breaks the ability to grep anyway. > > --- a/drivers/tty/serial/8250/8250_core.c > +++ b/drivers/tty/serial/8250/8250_core.c > @@ -1173,8 +1173,7 @@ MODULE_LICENSE("GPL"); >  MODULE_DESCRIPTION("Generic 8250/16x50 serial driver"); >   >  module_param(share_irqs, uint, 0644); > -MODULE_PARM_DESC(share_irqs, "Share IRQs with other non-8250/16x50 > devices" > - " (unsafe)"); > +MODULE_PARM_DESC(share_irqs, "Share IRQs with other non-8250/16x50 > devices (unsafe)"); This one looks nice in one line. > --- a/drivers/tty/serial/8250/serial_cs.c > +++ b/drivers/tty/serial/8250/serial_cs.c > @@ -533,8 +533,7 @@ static int multi_config(struct pcmcia_device > *link) >   info->multi = 2; >   if (pcmcia_loop_config(link, > multi_config_check_notpicky, >          &base2)) { > - dev_warn(&link->dev, "no usable port range " > -        "found, giving up\n"); > + dev_warn(&link->dev, "no usable port range > found, giving up\n"); But here I would comment as in patch 5, i.e. move literal to next line it it doesn't fit on the dev_warn() line. -- Andy Shevchenko Intel Finland Oy