Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1391876ybh; Fri, 13 Mar 2020 00:04:02 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtCo+z0ad40pThIdrO+RI4HAT3Ra+AdZYtZwHSohAKuYRGe9bCdC1c64WOszrJzd8ilPRmK X-Received: by 2002:aca:a9d4:: with SMTP id s203mr5962504oie.106.1584083042404; Fri, 13 Mar 2020 00:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584083042; cv=none; d=google.com; s=arc-20160816; b=Z4k0I74Zdb4SIbVR63EbmTL3yGR4egkU1Xi2AoV4BtCiysFZj2BugPBRzNSkhMGWGB zzdqO2/HRQr2J07UY8AIEeydgv1wVRkLRS83DOhgs3YnQAQWSzPKhDnsabhbuh7D9YKA Ri8Nb0o7GsyIz48HecpNB2svxDHqvsC55WbM2xrI7dIiU/ZFL82dVnRK/fQq/aETciRI hZUCb9zPMUxi59g9v0r2PVr4wGCJ3DTwVtM2jCNbYsw/4H1bkOLPvIjFarjinrMNvsC+ gixOqZhh4/paC12lQhlraf9F+eHmbcmGMVOAyffyyxW+UKbM7FZkPp6ZExDKkY+4Y6H2 wk4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=AP2t9aq+3CnI2xkvtgq/dDaFA1jMhDnb4wGWVaGi19s=; b=LmqRtBZJrMLMZZxAt/HUTWZTP6ttkn4AJu2u03cNkt4LUR8lw9JVliBzDZcLKK6ugt 5NVxLM04OB0vyz3LWoVv4jHylvLWGOycUv4CnEzSusyymAKLpKq8c9gZCryEmIDZ3Lxa plAug5aNlGlqPDYnJrfxP6LyWGEKylMliO7AFazFp0HxWVjCf6SHIIxmUziBXVfVBgY+ 1HeagDpB+6OjTATncxDxMelyrssk9fm1jqa0H1yrFJU7N5Nz+iO8PvocEC259mMaY67Q iUgKTxzm1ChaBlzqe+pzLK39+LHaHNDnb0Tdi45ujuSLCOCqYOoOwqX7tip5Y/V4R3NW r08g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si3118097otp.267.2020.03.13.00.03.45; Fri, 13 Mar 2020 00:04:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbgCMHDK (ORCPT + 99 others); Fri, 13 Mar 2020 03:03:10 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36437 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725809AbgCMHDK (ORCPT ); Fri, 13 Mar 2020 03:03:10 -0400 Received: by mail-wr1-f68.google.com with SMTP id s5so10707849wrg.3; Fri, 13 Mar 2020 00:03:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=AP2t9aq+3CnI2xkvtgq/dDaFA1jMhDnb4wGWVaGi19s=; b=pRp+B7lOCFtGXx02A0wmTa6aGLqxi0dC2JHxKpfjWhseQcF9DaObj41ki8x2JFXIh1 YhaTdLFt2RWv2Ysct/J4uZVi2UFX5HpiyUUDq2JXmtU39XpL5aDQwRocuZA1vUi98DrL VrcjEq6TGBfbWR/jcGK0lzguT5NByxtS7R7rzbYj1UYrPvpOpb+CG1AerTFKKBV25R2E YdIiU1iONbns3h/TGNBqsNZGxuUVT63JjqURM9DRWVlSNoP6jH3qxqS+oAngYjBtDowI neUXBuNU879VFzsfPQBbDV8VzEfNgK8qjcY4D3EZcg98AoeZKOvJwMXB5X5yUJhr6J88 0VVQ== X-Gm-Message-State: ANhLgQ3evHZGznXkwyi3OBqSa67PB5TRN/9vvCFo+TBjhS2Cg8heYm0v 7HWIgwyn69+eEsO9nZ1XJTI= X-Received: by 2002:a5d:6cc4:: with SMTP id c4mr10224249wrc.73.1584082987442; Fri, 13 Mar 2020 00:03:07 -0700 (PDT) Received: from ?IPv6:2a0b:e7c0:0:107::49? ([2a0b:e7c0:0:107::49]) by smtp.gmail.com with ESMTPSA id b12sm52393269wro.66.2020.03.13.00.03.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Mar 2020 00:03:06 -0700 (PDT) Subject: Re: [PATCH] serial: pl011: format long message string into lines To: WANG Wenhu , Russell King , Greg Kroah-Hartman , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: trivial@kernel.org References: <20200313065618.60196-1-wenhu.wang@vivo.com> From: Jiri Slaby Autocrypt: addr=jslaby@suse.cz; prefer-encrypt=mutual; keydata= mQINBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0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E8pG5NbGtd02r+m7SfuEDoG3Hs1iMGecPyV XxCVvSV6dwRQFc0UOZ1a6ywwCWfGOYqFnJvfSbUiCMV8bfRSWhnNQYLIuSv/nckyi8CzCYIg c21cfBvnwiSfWLZTTj1oWyj5a0PPgGOdgGoIvVjYXul3yXYeYOqbYjiC5t99JpEeIFupxIGV ciMk6t3pDrq7n7Vi/faqT+c4vnjazJi0UMfYnnAzYBa9+NkfW0w5W9Uy7kW/v7SffH/2yFiK 9HKkJqkN9xYEYaxtfl5pelF8idoxMZpTvCZY7jhnl2IemZCBMs6s338wS12Qro5WEAxV6cjD VSdmcD5l9plhKGLmgVNCTe8DPv81oDn9s0cIRLg9wNnDtj8aIiH8lBHwfUkpn32iv0uMV6Ae sLxhDWfOR4N+wu1gzXWgLel4drkCJcuYK5IL1qaZDcuGR8RPo3jbFO7Y Message-ID: <8eee8b07-3cc3-6ab8-b50f-89cbac0f69ae@suse.cz> Date: Fri, 13 Mar 2020 08:03:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200313065618.60196-1-wenhu.wang@vivo.com> Content-Type: text/plain; charset=iso-8859-2 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13. 03. 20, 7:56, WANG Wenhu wrote: > Separate the message string into lines for pl011_probe_dt_alias() > to make it better comply with kernel coding style, and also, make > it more readable. > > It would still be grep friendly for the separated format. > > Signed-off-by: WANG Wenhu > --- > drivers/tty/serial/amba-pl011.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c > index 2296bb0f9578..e693b7ac5a3a 100644 > --- a/drivers/tty/serial/amba-pl011.c > +++ b/drivers/tty/serial/amba-pl011.c > @@ -2523,7 +2523,8 @@ static int pl011_probe_dt_alias(int index, struct device *dev) > } > > if (seen_dev_with_alias && seen_dev_without_alias) > - dev_warn(dev, "aliased and non-aliased serial devices found in device tree. Serial port enumeration may be unpredictable.\n"); > + dev_warn(dev, "aliased and non-aliased serial devices found in device tree." \ > + "Serial port enumeration may be unpredictable.\n"); 1) You removed a space after the dot 2) the backslash is superfluous 3) CodingStyle clearly states: """ However, never break user-visible strings such as printk messages, because that breaks the ability to grep for them. """ So, sorry: Nacked-by: Jiri Slaby > > return ret; > } > -- js suse labs