Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2599147rdb; Mon, 4 Dec 2023 02:02:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHenJpHxDcNJffHJivlz/oYBNGNsUI4StiCi8OundPRr4ujgu2UaRKr4Z/w9j5XQemov8R X-Received: by 2002:a05:6a20:5151:b0:18f:97c:3859 with SMTP id b17-20020a056a20515100b0018f097c3859mr2960091pzc.51.1701684165247; Mon, 04 Dec 2023 02:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701684165; cv=none; d=google.com; s=arc-20160816; b=nj2Q0VBQUgd90RIx2zvl+vc5wdLuQtplZLI/jFm79o5Paz9YWhrUO2Ot//svTjLoAy XCWFOUCYAXv1Klp+HrA3vKdYqEkfxJ7LY0eW68Y9clQQ5K71k4zbWzyDGawEME9DMZJA gxgu/0Q3T1DUcCGVtnLLfc6sPfwp3dULIy2CDJrbe2TlJrSgawLLC/tp3rlMrrEvX6nk cXLPBiEkjUj3R9a7rNIaEDBg+j68UNbUCyaDiNTkpvglxz5DKzSAHzouCoi2+wOyYB5x O9jyJ5IdEBi+B/OZU3+so8KQJf7gp3zDBYYjYj3akdQW0KlTHU4iEylsPYLtkwL7OpAG 6QMA== 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=iANmKiD/WeEaVkjVKIjuWKw9tVhHc7gkuIVfO30Dm5k=; fh=tohYdwto1ce5YptIvc61BRBGYldSJhvoHAcaHoE1Ycw=; b=WDtCL5LobRbHY1aOfPxK2vrdH157RfBMeOs2Z4SeBXik3xYGv0DN3GinNDd+lEt0p0 3Sy7WcKgwtKFBYzuPHVzk5SkEpkmbdVmwXsQDusxewU1nhGlzUg3PHEDTwcGuaenroEt F2hzh+AD2Mn2Jp64KuPl/QwudL5p4hl19tW7y9AsNZA7Do0IhyCBwp/403lrlEoTvi1F RmGgXKOFXFEB2insUb3qYPC23RnoK0fv1s8lGBuLohozR9vVPG56vrvp/2Pl3uZkSxWf 22ZbvzKsTVmnkvK5qkTYVWetf0xobNv/roiZxyjb/6hqEnlmOFEtYO/jtcmC9E89FzM7 RWyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DBFI4R/E"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id p15-20020a63fe0f000000b005c21fbab567si7732121pgh.659.2023.12.04.02.02.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 02:02:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DBFI4R/E"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 6D89980942C5; Mon, 4 Dec 2023 02:02:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234903AbjLDKC3 (ORCPT + 99 others); Mon, 4 Dec 2023 05:02:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234914AbjLDKC1 (ORCPT ); Mon, 4 Dec 2023 05:02:27 -0500 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1499FF2 for ; Mon, 4 Dec 2023 02:02:32 -0800 (PST) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-5cdc0b3526eso34976547b3.1 for ; Mon, 04 Dec 2023 02:02:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701684151; x=1702288951; 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=iANmKiD/WeEaVkjVKIjuWKw9tVhHc7gkuIVfO30Dm5k=; b=DBFI4R/EaHYieoJSxgEapuC+t36NjY9hJ+xyVTQDZLbFNMeC6ITDxkJT3eXP4peJn1 BhkJUZDzYh9P+SUT9nnRoLApDU7x2xAIX3ln3lfCB1suDfm33TTMBUcR1ivqiBIXFLYk xH6q29p0mOUq1I10tBMy+plYgXj9Fv0Enu+dyEeWwDHq4IGkZLPOil1Q8PIVxDb5waT6 rDGvZJ91kNtKvlPewxi+0TY+RI5XCzfnH73gp70zPBx2rSnxFNNAXVnwulc7tK8cxAs8 dLuSRdwerQcv6rNmsG3fO94ytD1288TUuZ9J6bPU3PVyWYMoLmR2vuzP0HWkICJpzrf3 VhKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701684151; x=1702288951; 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=iANmKiD/WeEaVkjVKIjuWKw9tVhHc7gkuIVfO30Dm5k=; b=NspnSkaAXXqTwRPdrbVpf7CRYjJm8BUHvxVFjT7vQPhysoebJ6bhuRHY7NgpCtVDJ/ KNpwUw5bpBFd04LKQofk9mLwGbMstiXBWLDEAXBiJG19Vp//TdDmu143YDuaGWZJ2ZWY eh5PLkBgObG96bv0S2e0Ak+utLG3NEVUZCWtgVwcPdJIdHwHkGyacIs3wK9Ylf3fDiGS WXol5nKFNwJ1FgGwkNSTFklCerxuVxDUZjoKnLQBJVkF+SnZz/nwj9SkOzlbXS12giyc OHk/CGmHSJJUm+YO4JjPeLEXp+d0MLaqzbzw0Sv/fgJQgmhZwrymgzYov4ikFKg4RloU fVhQ== X-Gm-Message-State: AOJu0YyIoM7WWOWPJetX1ShN/8LDotf2bV6tZLc4B47Uuadj+Ul5vG+q CHIAPK2BPPwhIKoMORfizo3flOopR6wSfkbGGGDnEw== X-Received: by 2002:a81:8353:0:b0:5d6:bc5c:9770 with SMTP id t80-20020a818353000000b005d6bc5c9770mr2210116ywf.4.1701684151231; Mon, 04 Dec 2023 02:02:31 -0800 (PST) MIME-Version: 1.0 References: <20231130-mbly-uart-v5-0-6566703a04b5@bootlin.com> <20231130-mbly-uart-v5-6-6566703a04b5@bootlin.com> In-Reply-To: <20231130-mbly-uart-v5-6-6566703a04b5@bootlin.com> From: Linus Walleij Date: Mon, 4 Dec 2023 11:02:20 +0100 Message-ID: Subject: Re: [PATCH v5 6/9] tty: serial: amba-pl011: fix formatting of conditions To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: Russell King , Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, =?UTF-8?Q?Gr=C3=A9gory_Clement?= , Alexandre Belloni , Thomas Petazzoni , Vladimir Kondratiev , Tawfik Bayouk , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 02:02:42 -0800 (PST) On Thu, Nov 30, 2023 at 3:07=E2=80=AFPM Th=C3=A9o Lebrun wrote: > Fix the following checkpatch warnings & checks: > > $ ./scripts/checkpatch.pl --strict --file \ > drivers/tty/serial/amba-pl011.c > > CHECK: Unbalanced braces around else statement > CHECK: Unnecessary parentheses around '[...]' > CHECK: braces {} should be used on all arms of this statement > CHECK: Comparison to NULL could be written "[...]" > WARNING: Comparisons should place the constant on the right side of t= he test > > Signed-off-by: Th=C3=A9o Lebrun Reviewed-by: Linus Walleij Yours, Linus Walleij