Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp566528rdh; Thu, 23 Nov 2023 11:37:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHowomMAsGO+6mhkvHndLGA8ky27aUFZz3frXxxU6pY1CwcJrbgt4VBbdDlUegmpOM4QHD X-Received: by 2002:a17:902:e844:b0:1cc:87a5:288 with SMTP id t4-20020a170902e84400b001cc87a50288mr587816plg.29.1700768235201; Thu, 23 Nov 2023 11:37:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700768235; cv=none; d=google.com; s=arc-20160816; b=hdrarzmpnA8bGJJ4NBJSgv7f8E5e7D9+IIVEPyB2AuxzbmpsW7E4WAanD0WpXyoEWc CzaFHu7+Z2uiZVbCKCdgak8PqYVnocFZZKgekT8szoPdda0kZO3RdnVE0dGcZfzkrxx+ YqXsF2yxNntIYN9Pgl9Lkeh8SYyl5CPR9Sq6Dajq+ULQvLE40vdiNLC8rfiGEMHEymtZ j3RTQlRBtsq4tQWqJ7nBeNwf2vc/x0s9CfwrzqtXsY9MkvCvRKfICPCpj1HBUNWDGPVw rgrFF7SmJ2RSbkygAZ+JdRsJ8YKKNYvY/401sYuwQKhHgQ9OO+HEWIWCZArTYyROc6ra 4/kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GQlBFdColtdbRVmYK81CDsi96eFcgoAA+qcK13aEA3E=; fh=xSKdgqS8q33WzqjeT9zOQCs+VOzh7GCMXyhJfy5IdFc=; b=hlRDPQARzmCB5EsgRebf9SqSkvgFi+irvjeWuzd4LIxWO2JL3sKbVyXEmGfM8UnoAc dos1cwLFPGSGoSGwwtsS9q808g2FpVc7qIs+hF6M/kx9cLlMHww3GTpQIXm/xbUm8kic jFgEKx9NwXxWFkCXYCmLp4ZB+nC+gkstX52Ngzk0bpIyB+tnqgpcKGweR++CdjrMblbp ZFfRrSOUEBaeN0PhRNK70L4OacJbk64aFJ9yXZg29gxkTKMkhtLBd8FbxGtwfCEFNHdS RyW9OuDTWABWY2gnw1My7Lp0cGFsDwC7aLxHV6WvZUbQgT+xDLpE8cyn7oe5qPFk/MM5 /L7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kzffbtMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id jb15-20020a170903258f00b001ccab03f008si1703373plb.185.2023.11.23.11.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 11:37:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kzffbtMp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7250080A1A53; Thu, 23 Nov 2023 11:37:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231326AbjKWTgq (ORCPT + 99 others); Thu, 23 Nov 2023 14:36:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231366AbjKWTgY (ORCPT ); Thu, 23 Nov 2023 14:36:24 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB50635B7 for ; Thu, 23 Nov 2023 11:35:25 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69B49C433C9; Thu, 23 Nov 2023 19:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700768122; bh=GV33Ja8p/x8b4Sn/8W6w24BkBB0SuBPzuOK/VUIfmCU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kzffbtMp78WBKeyMMfCa4mEGqUq9lzjkw2fDZTauERL5arVXwl0L+1GKOwJ0zDTVR eYH+EvwoAsbd9P1wNr9SBPQ2DZShOpfEVeO+k14jEkyA7+y89PDy++akk+k3g7uLGQ fiYmBDQDUiNYohvD7gFwNOwWhc7XJw+iDoFVlv80= Date: Thu, 23 Nov 2023 19:35:19 +0000 From: Greg Kroah-Hartman To: =?iso-8859-1?Q?Th=E9o?= Lebrun Cc: Russell King , Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Linus Walleij , =?iso-8859-1?Q?Gr=E9gory?= Clement , Alexandre Belloni , Thomas Petazzoni , Vladimir Kondratiev , Tawfik Bayouk , Ilpo =?iso-8859-1?Q?J=E4rvinen?= Subject: Re: [PATCH v4 3/6] tty: serial: amba-pl011: cleanup driver Message-ID: <2023112351-liable-handbag-d120@gregkh> References: <20231123-mbly-uart-v4-0-7f913a74ff89@bootlin.com> <20231123-mbly-uart-v4-3-7f913a74ff89@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231123-mbly-uart-v4-3-7f913a74ff89@bootlin.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 11:37:10 -0800 (PST) On Thu, Nov 23, 2023 at 02:42:41PM +0100, Th?o Lebrun wrote: > Follow recommandations from: > > $ ./scripts/checkpatch.pl --strict --file \ > drivers/tty/serial/amba-pl011.c > > It does NOT fix alerts relative to TIOCMBIT which will be dealt with in > another patch. Fixes following alerts: > > CHECK: Alignment should match open parenthesis > CHECK: Blank lines aren't necessary after an open brace '{' > CHECK: Comparison to NULL could be written [...] > CHECK: Lines should not end with a '(' > CHECK: Please don't use multiple blank lines > CHECK: Please use a blank line after function/struct/union/enum declarations > CHECK: Prefer using the BIT macro > CHECK: Unbalanced braces around else statement > CHECK: Unnecessary parentheses around [...] > CHECK: braces {} should be used on all arms of this statement > CHECK: spaces preferred around that '/' (ctx:VxV) > CHECK: spaces preferred around that '|' (ctx:VxV) > ERROR: do not initialise statics to false > WARNING: Comparisons should place the constant on the right side of the test > WARNING: Possible unnecessary 'out of memory' message > WARNING: Prefer 'unsigned int' to bare use of 'unsigned' > WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... > WARNING: quoted string split across lines > > Reviewed-by: Linus Walleij > Reviewed-by: Ilpo J?rvinen > Signed-off-by: Th?o Lebrun > --- > drivers/tty/serial/amba-pl011.c | 147 +++++++++++++++++++--------------------- > 1 file changed, 71 insertions(+), 76 deletions(-) This patch does not apply. And really, you should have broken it up into smaller pieces and most of them would have applied :( Please rebase and break it up and resend. thanks, greg k-h