Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2993193rdb; Sat, 9 Dec 2023 07:07:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVHkXUzWHeX4hPjKZOO0UuobsXfb1kPLjKn9PGSrN2ofW9XMp1mG0nP1ulwTZhsMhRCqSJ X-Received: by 2002:a05:6a20:1012:b0:18a:b5c3:55db with SMTP id gs18-20020a056a20101200b0018ab5c355dbmr746369pzc.50.1702134453157; Sat, 09 Dec 2023 07:07:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702134453; cv=none; d=google.com; s=arc-20160816; b=IbCnjUw4O7NwlRRybsl+OJ91pu/0mRrKbh45mExDBxZtSJE0KsZMbSVnqWYVTEuzJz rdQUGepJEQWRZ9bebgsdmt0hpx9gTjDE94/2uNA96OOn7bRvgzfhryQrcPJc4kiIyDjM sk2gCKDmTGLW9W3zFyGcrm+RT4MD4LBQdzYHPiHYNIfeZLuSypmYrbJfpozlbs8T5Nvc FTDSvRqWjYJNPKjombl/s13oc9mUBYiW57C2CBPNKvLAnJFjou/dfcjyQpIbReIYYOS0 hbUV6y2awxmKJFvCvV2wUEGgQpPqbEELhmjGt4kMLXcAstmyXBNl69Vg9U7GDKKHBLxL SZeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=N1cprJAQOIkFohzPQFgXhK/wxzuO7UEkHWYrOIwo3x0=; fh=kAz+JZNc4+BxFR5pqWogalQocfS4/uIJLpHMIl8wp8g=; b=Lsn06jW41FMlLVIo1l3TVix1tG69vn2xnPS2x3N6nbm46NbMhsDtTUfV0+qgGsEQ9X M7zW4FDQnk4z7XtBJG8VReBQoR0yrGArY8uCKBhizmqYIdVXDAXqcRcOu7uJ3auYYH79 Fo8c0ecS6OCXyJh+kIwsCpNMvuIV7b584YXZa5cd6EoA6bC2Sm+0ZIDrp7gtod/pkO/a saGV+JGi+gx75wTikIFB4oj8VnNWnn/MdY8JrLE3aH4PG86uQSo5BPKRU++TmlK7Cyb2 eXRfSUBhrB6vimA5ys3QV03ueDAjOW2Cwj0awvKM8OmsT5cgC9GzvqtFVD8lGSLotVAJ x9Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b="amQKNLV/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id b6-20020a056a000cc600b006ce1127888asi3283519pfv.10.2023.12.09.07.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 07:07:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b="amQKNLV/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C5AAE8062796; Sat, 9 Dec 2023 07:07:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229944AbjLIOne (ORCPT + 99 others); Sat, 9 Dec 2023 09:43:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjLIOnd (ORCPT ); Sat, 9 Dec 2023 09:43:33 -0500 Received: from smtp.smtpout.orange.fr (smtp-17.smtpout.orange.fr [80.12.242.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8B9C137 for ; Sat, 9 Dec 2023 06:43:37 -0800 (PST) Received: from [192.168.1.18] ([92.140.202.140]) by smtp.orange.fr with ESMTPA id ByYGrMIqNngscByYGrezjM; Sat, 09 Dec 2023 15:43:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1702133015; bh=N1cprJAQOIkFohzPQFgXhK/wxzuO7UEkHWYrOIwo3x0=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=amQKNLV/aS2qbDSaRAmzVSV3ceiWEdPoA/c0M6Sn3mnTNH+4l/D11qMqipduFZOfp 4xT3NtTeEYs1NYkyuLFy1hxGOlqdfxcqVoqsChCgajF58rxhkjl5dDMnTAXbaamVoz 3cDSJWJcnI3/BkC5DyG5MEOFGumnRcheT8JUR58fPtXGvDrOhQlPpQT1Xi5gqZAUeu Xn/MqoNJ+40dMcj2B3Dy0d5YKsvmwFeULQHtz2SoBKBql3Y6JZ3yyhE8QqxaRBQ5iH XVZ4Hy2bZYQvRO4kjmUZ/H8z19giVrL9A7OLvOlaRzz2bWWIJsrLxEobMtrKBmQfbT vbpNVU3/XGa/Q== X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 09 Dec 2023 15:43:35 +0100 X-ME-IP: 92.140.202.140 Message-ID: Date: Sat, 9 Dec 2023 15:43:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 5/9] tty: serial: amba-pl011: avoid quoted string split across lines Content-Language: fr To: =?UTF-8?Q?Th=C3=A9o_Lebrun?= , Russell King , Greg Kroah-Hartman , Jiri Slaby Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Linus Walleij , =?UTF-8?Q?Gr=C3=A9gory_Clement?= , Alexandre Belloni , Thomas Petazzoni , Vladimir Kondratiev , Tawfik Bayouk , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= References: <20231130-mbly-uart-v5-0-6566703a04b5@bootlin.com> <20231130-mbly-uart-v5-5-6566703a04b5@bootlin.com> From: Christophe JAILLET In-Reply-To: <20231130-mbly-uart-v5-5-6566703a04b5@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 09 Dec 2023 07:07:31 -0800 (PST) Le 30/11/2023 à 15:07, Théo Lebrun a écrit : > Remove all instances of quoted strings split across lines. Fix four > checkpatch warnings: > > $ ./scripts/checkpatch.pl --strict --file \ > drivers/tty/serial/amba-pl011.c > WARNING: quoted string split across lines > [...] > > Signed-off-by: Théo Lebrun > --- > drivers/tty/serial/amba-pl011.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c > index 743dee75c68b..be8888db1a37 100644 > --- a/drivers/tty/serial/amba-pl011.c > +++ b/drivers/tty/serial/amba-pl011.c > @@ -973,8 +973,8 @@ static void pl011_dma_rx_irq(struct uart_amba_port *uap) > /* Switch buffer & re-trigger DMA job */ > dmarx->use_buf_b = !dmarx->use_buf_b; > if (pl011_dma_rx_trigger_dma(uap)) { > - dev_dbg(uap->port.dev, "could not retrigger RX DMA job " > - "fall back to interrupt mode\n"); > + dev_dbg(uap->port.dev, > + "could not retrigger RX DMA job fall back to interrupt mode\n"); > uap->im |= UART011_RXIM; > pl011_write(uap->im, uap, REG_IMSC); > } > @@ -1021,8 +1021,8 @@ static void pl011_dma_rx_callback(void *data) > * get some IRQ immediately from RX. > */ > if (ret) { > - dev_dbg(uap->port.dev, "could not retrigger RX DMA job " > - "fall back to interrupt mode\n"); > + dev_dbg(uap->port.dev, > + "could not retrigger RX DMA job fall back to interrupt mode\n"); > uap->im |= UART011_RXIM; > pl011_write(uap->im, uap, REG_IMSC); > } > @@ -1158,8 +1158,8 @@ static void pl011_dma_startup(struct uart_amba_port *uap) > > if (uap->using_rx_dma) { > if (pl011_dma_rx_trigger_dma(uap)) > - dev_dbg(uap->port.dev, "could not trigger initial " > - "RX DMA job, fall back to interrupt mode\n"); > + dev_dbg(uap->port.dev, > + "could not trigger initial RX DMA job, fall back to interrupt mode\n"); > if (uap->dmarx.poll_rate) { Hi, I think that having a comma just before "fall back", as done here, would make the other 3 messages clearer. CJ > timer_setup(&uap->dmarx.timer, pl011_dma_rx_poll, 0); > mod_timer(&uap->dmarx.timer, > @@ -1391,8 +1391,8 @@ __acquires(&uap->port.lock) > */ > if (pl011_dma_rx_available(uap)) { > if (pl011_dma_rx_trigger_dma(uap)) { > - dev_dbg(uap->port.dev, "could not trigger RX DMA job " > - "fall back to interrupt mode again\n"); > + dev_dbg(uap->port.dev, > + "could not trigger RX DMA job fall back to interrupt mode again\n"); > uap->im |= UART011_RXIM; > pl011_write(uap->im, uap, REG_IMSC); > } else { >