Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp443435rdh; Thu, 26 Oct 2023 06:38:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEc4F6xgyPAgyv5Jjr38GIuZ7VGDOTOgwC5YjNal/0qq910uAxGxRNT0dgwRhHacA8kLumO X-Received: by 2002:a05:6808:10a:b0:3b2:e6a4:e177 with SMTP id b10-20020a056808010a00b003b2e6a4e177mr18386782oie.51.1698327524842; Thu, 26 Oct 2023 06:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698327524; cv=none; d=google.com; s=arc-20160816; b=z5pAQ6vJ7rL4PsnDgVRMJYHBa5SBsf+o/vkAWiEwX7P9qAlhzz9ys/nzSwjq07U8Kc Yipxgji74vBmwr+hllxU6DWepzhUAznzE/OilYGMBNJ8rc6Lz/VuYUFTxUwHyqeq3fuh kVXaB2GKi3oXKdWxF2vl/h/Al8j3/s6khNg+U0t1VcZdFm7HHJXD4pjnLN0jWVegxuCH O6T5Csfq1JrP/M4NEsX7A6kRbRc1bN6Ulhxb+LVbW/61gOenu9mqYJ4yzjLQ3hQSCbDY 6++pEKidFuoug9S6aJro6V16Ii//rK3dcob4XSU1ybL3/PGZzrSR+DcvMqvqWLymA/kP b45w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uW0IaiCDGPtfg501Nw8p6UpGLwS2ZUBRonlHE2LLZzs=; fh=WC25YkHVXFyFZGLDpSec/k1npyxIOZp/onocOUfguWQ=; b=dI21gYmNd39NJFoSpP9d7CpMJC7y+eTE2DH81mriwNbFXC9WF2gD0lHG+sVL30Tp2g aqMjZaaSPyT6ZTwNtp9bOU5VRcSssf5V7IEk4pBrXSHCwYa3j3QKXsatq6RfgcKaS8bl EXflrB05y6DQ6p4a5iFeEfY9ruRGaUTFDoSivGF9oa+2R61U/D04n8FMgCgxEjbn+z38 +xTYF65MnO9MygqeIHnpzTq2ViFm+YrcUVGDDRWBPlCZK1mKGBBlt4xGEsNVznoMJAnY h2fxiDQQmbsMwqi0KYZlCSTd+M9jdY+ppzKV+lv9CeaCC53a65oymQFIVmxVH1Vr7mmQ uaCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x9+2I1el; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f187-20020a251fc4000000b00d9a55429bcdsi13606011ybf.698.2023.10.26.06.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 06:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x9+2I1el; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 444AB821ADA2; Thu, 26 Oct 2023 06:38:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230413AbjJZNik (ORCPT + 99 others); Thu, 26 Oct 2023 09:38:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230479AbjJZNii (ORCPT ); Thu, 26 Oct 2023 09:38:38 -0400 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DD3918F for ; Thu, 26 Oct 2023 06:38:36 -0700 (PDT) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-5a92782615dso7255267b3.2 for ; Thu, 26 Oct 2023 06:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698327516; x=1698932316; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uW0IaiCDGPtfg501Nw8p6UpGLwS2ZUBRonlHE2LLZzs=; b=x9+2I1elp0NtJ/7n3Lq5bsXDYJ22d7FQ3CIwYlL/bAWTq6Fly7DG+90wSXYHNibwno M8SCWrBgF6P2wREpmxfuXu7puQfp3SurlxI9kTp36Np35XQrLX/FcW/gke59c5H7CISs dTrAH2Twacm0j2ccQJRYGRRxCNgFtSTjya1GcTaI45mRoX1x4TmT9zeEdOxjvPhelVOA Oj65dQQVGYW5gOPooEz1vz7ncNj9YROA797GPRlCSz8ofyimAy44wsvHMU4Mj0AYxSfV eeyjrcpZjwrPNNWmnREcJ6QF1OnOOaj/1lTxZxOKuyzrk7J/1FvHngvKtZn29nsDWCHT dQvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698327516; x=1698932316; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uW0IaiCDGPtfg501Nw8p6UpGLwS2ZUBRonlHE2LLZzs=; b=UPs0joLBnw0a4WQIQk1o2tv53G1IV1PCTOuY3nc9R6Xzlf6Cy6I61el0M+Jzy4Q8LC GegVQ+UxXjPQdj3eBx9ErTGE4efshKLrs9OKwtkUbyJZnAFI8lSwwhHsWbci44moYEwq 5JSERvSwFIJhIlMOiUtli01B2G797JJ3sScAkSNI2Cbt/sj2ZRS/pmtqE9kIepEsXM5E jB7A2NZjmtHdipW1lySofaNwSzO8F/5NeeoCk4mqzY7HGVLr7MNdGEPDIqOdC5iu6WED 5zBA1QPLOslLb6ZmrlMFT1MOK4T4kLYLgJpiSV/2AruJSzE32RMqT+yqrdcFvSrq2tbR 9FUg== X-Gm-Message-State: AOJu0YyOFen4c171A8+ohiPCvxcqKpCzBI/0cw/QTviNWe6jktDheTFJ Xi+qgpx0kOqJpzbbzVYCYzQs1EBxCW/2FIM3eBT6oXndJgOP4l+E X-Received: by 2002:a0d:e2c9:0:b0:5a8:286d:339e with SMTP id l192-20020a0de2c9000000b005a8286d339emr20086367ywe.4.1698327515767; Thu, 26 Oct 2023 06:38:35 -0700 (PDT) MIME-Version: 1.0 References: <20231026-mbly-uart-v1-0-9258eea297d3@bootlin.com> <20231026-mbly-uart-v1-3-9258eea297d3@bootlin.com> In-Reply-To: <20231026-mbly-uart-v1-3-9258eea297d3@bootlin.com> From: Linus Walleij Date: Thu, 26 Oct 2023 15:38:24 +0200 Message-ID: Subject: Re: [PATCH 3/6] tty: serial: amba-pl011: cleanup driver To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: Russell King , Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Gregory CLEMENT , Alexandre Belloni , Thomas Petazzoni , Vladimir Kondratiev , Tawfik Bayouk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 06:38:43 -0700 (PDT) On Thu, Oct 26, 2023 at 12:41=E2=80=AFPM Th=C3=A9o 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 decla= rations > 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 t= he 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 > > Signed-off-by: Th=C3=A9o Lebrun These look harmless enough to me. Reviewed-by: Linus Walleij Yours, Linus Walleij