Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp442989rdh; Thu, 26 Oct 2023 06:37:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrLuxhVpS0ysnQuf0VmRNKXmG4wFtWNWUN6aPyl7Ahk23SR+7xARfdZOVsYMU5ydvRzriZ X-Received: by 2002:a05:620a:4484:b0:779:da55:b327 with SMTP id x4-20020a05620a448400b00779da55b327mr13896251qkp.11.1698327478899; Thu, 26 Oct 2023 06:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698327478; cv=none; d=google.com; s=arc-20160816; b=TALf+LhUVAv1D/ePi+KI0onymdiL9rCGZbp2PJGXukt4Kg9KP/0+wQDsxvm51OwDJn NdXNQCHmuw1GIy23iNzAjeKVuNtb6dAAh7KUgzNN6OhUxy76JLMSkguADN5d1gZtOmIC YOzh5XukP/6uYiJQVX0Oa7UEMFOnts+E0+jrB9m0wSf2bvM5pckCcW72CzWgVpVIP37+ ZRqpjxMm9QTwnLikOMr5Ozl0sYwgvK6Cy1ZdquWzS2cTEZuj1BHB3qkafMwq15WFT1O0 v1Jz3OG8T35dbygZ5jSS/pFNv2dz387e0UPi/UwVPPJk9aDnZvFTyNDZryC0aW3KvDfL 40SA== 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=GOx8ddXc9Yb3bG6JoRDnlwg8757x2FxWfqO5ucclk30=; fh=WC25YkHVXFyFZGLDpSec/k1npyxIOZp/onocOUfguWQ=; b=M1Tu8xHbajX+q3uFJa2e0/1D9w6SMI9d81Jl5n+7PNnyVjmQZjX8vKePxOcG4HHKim AG1gWYe4BO6olmdg9nVZsvTiDM4b4cDzSAyODjk2lA8sxp6VIbm+CutG4wzwYAEk5lxm K+aCqWQJCVwbpmbK8erYRpS3e9n9/bV+9c3LZVSz+9+yrXuXRKaP7rfocPmVQC87PV4V 0fYgEzSYbQCb4LZ8/+WYxXbl7qeRSbbttTX9dee857Rp/kNygZzQsP6ZfNcSV+Wf3nC+ rvYmmWa+Pn3qdvU+LPNzi/UqH/xmS9TlDiBrYf/GCBZ39prN/KbmzqRE/evSv5G3C8kQ /M4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zfDXuaaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id vu7-20020a05620a560700b0077419a1ea24si9781592qkn.579.2023.10.26.06.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 06:37:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zfDXuaaw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 3A793805FD71; Thu, 26 Oct 2023 06:37:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbjJZNhh (ORCPT + 99 others); Thu, 26 Oct 2023 09:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230413AbjJZNhg (ORCPT ); Thu, 26 Oct 2023 09:37:36 -0400 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BA2D187 for ; Thu, 26 Oct 2023 06:37:33 -0700 (PDT) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-5a7c011e113so7307717b3.1 for ; Thu, 26 Oct 2023 06:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698327452; x=1698932252; 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=GOx8ddXc9Yb3bG6JoRDnlwg8757x2FxWfqO5ucclk30=; b=zfDXuaaw4RgQfQ+NkWn5wjm9vPsaP0FnmEdSfI7WMVVRG1Iy1F1metRKnZa14w0cwm d4c6HqrI/8AmzdMJfFHOwyPDGoJV46Nl0rQJPRhx7/+5uFWJQMQz3/GFBdLMHPWyFLk4 RknBqe26GyEeNbOqV0SuWd3sRtJcVaFhwFakkEFRX1cjfCWpBLmfKQYhBUYpvCRKhkaC UaiRm0SYOxl+HST8RL75wd/uWmlLjvNOACrhoKaBMlZu1bXTWh2dbBe2jCPAQqrS5Soe +MYvesVkIcEGEha42zYv8826W7VcRpQS3pEomJ9ZbuxEF6ATlKXKOPGlaksXU/BONiqO DiZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698327452; x=1698932252; 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=GOx8ddXc9Yb3bG6JoRDnlwg8757x2FxWfqO5ucclk30=; b=DSBAXxlmFFCw3ajAYljVdNcjk8lOb3W6y1FpoGRXDVKJMOtgiUYqEZ61Hp5tvnQsFR j8vLyBcHv/oe/6ZfYbFUApkr5oMA9Rnle51tMaGHmAUgpF5EV4bFx1y98NaPNoad97gk JTdLa2/eM6IO3zuloc+3MKavDgRXNIZSvzXoOSPbVikz7nJonP8Qly81n3tt48HUw9rl Mzm03yk+jNlUyk/RGftE6WLW/Sw+wuxJH9RZPkZicbrm1LDxDuJSG50N7Xx5xPeB5WCc T9AibOe0SFfONeT1UNlVIsskswETuYXN7tluU6a6cpR3ujZlzJI2f1B3J0QgUeJsqOzf u0dw== X-Gm-Message-State: AOJu0YzAW+boelF1kCyHJsEa2n5e0vEvHiCe4vRkyzHn3IJ8F0jRx1FF XNWzS4hVQ5iJY7HsLngpIkGBQKuTRFwRoY7jPDTDRw== X-Received: by 2002:a81:a187:0:b0:5a7:ab55:b9af with SMTP id y129-20020a81a187000000b005a7ab55b9afmr20163841ywg.35.1698327452521; Thu, 26 Oct 2023 06:37:32 -0700 (PDT) MIME-Version: 1.0 References: <20231026-mbly-uart-v1-0-9258eea297d3@bootlin.com> <20231026-mbly-uart-v1-2-9258eea297d3@bootlin.com> In-Reply-To: <20231026-mbly-uart-v1-2-9258eea297d3@bootlin.com> From: Linus Walleij Date: Thu, 26 Oct 2023 15:37:20 +0200 Message-ID: Subject: Re: [PATCH 2/6] tty: serial: amba: Use BIT() macro for constant declarations 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=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 06:37:56 -0700 (PDT) On Thu, Oct 26, 2023 at 12:41=E2=80=AFPM Th=C3=A9o Lebrun wrote: > The driver uses bit shifts and hexadecimal expressions to declare > constants. Replace that with the BIT() macro that clarifies intent. > > Signed-off-by: Th=C3=A9o Lebrun > --- > include/linux/amba/serial.h | 182 ++++++++++++++++++++++----------------= ------ Since you don't know where this header may be included, you should add #include at the top of linux/amba/serial.h With that fixed: Reviewed-by: Linus Walleij Yours, Linus Walleij