Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3984643rwb; Mon, 21 Nov 2022 02:11:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf5rxKTc3OZ2usXrRdGiw/6BmIYbP0NwR2wE8Pd0VsTpu+8uWjY52Gcqgv2GC7RAsK2i90x6 X-Received: by 2002:a05:6402:a41:b0:462:273b:6b5c with SMTP id bt1-20020a0564020a4100b00462273b6b5cmr15089538edb.57.1669025475386; Mon, 21 Nov 2022 02:11:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669025475; cv=none; d=google.com; s=arc-20160816; b=syjpIA/vZWQQ6L8Tg15SZbsvxQcEFMU8YDGlCUVby4jMPAzhD+yE1TNZdPYqKXoqKf tsF3txlMsQUKUAxNZy+/8LNy90dC2Cd1t3Pj37A16Xslpiig8N5kli5B+7gg4DOOsjaE TciRjg7jANcEbQeeM+hDKzhnDqbI9E/swPDUdw7gpIRiKVSTBbZbK2D6uytxzdgsUdHS RidyB33Ccp6r+8mKScAFWhFcRDM3QxGxoEeQHFSKv2rQEGI5UQAlKUsCQRc51kOs+Br8 zbsSnqzY0uFiLdInawLAsgrw/8tQhfGUObvxfVfHK4NP5VpIRgVobfLvLW4CE+lUAgyV euqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=08ON0wDEuOA5N2KdfVDxrAXwMO1f5tiaJoMdWJHTTko=; b=faUvrG72gdqDAXkJkC5gUTzdUzTscKnkVsKgJWdKWFZsj6tJwkTFjguCgsaWoazP35 1Bo5bKpSHfy3Ta/JgO1OsFSpQZrH9iAQ/APaE4tQS/9jzGCPHupQdjMfEeAZP9Ilk7bt OnwXOLjwnEioRpsPYV9BmgWvzMT17j7WtP/Ug5qWjI84+igXxsEx4fh1ukMRwbOgKNKO 27YKKdppIDpnl00SnKs7R8xS/KUX/M2ieRdUCKonWxadK0dLt51g7F8z/ot54WSXbw08 2YuCAKVzbRzkFZVu/BA43121NcIRfi2vUZUaIpjoidTE+umlLurPQnnbRIErRh4kQEy/ NZ1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b22-20020a170906491600b007ada030c2e9si7739392ejq.944.2022.11.21.02.10.52; Mon, 21 Nov 2022 02:11:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230367AbiKUJqD (ORCPT + 91 others); Mon, 21 Nov 2022 04:46:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230360AbiKUJpy (ORCPT ); Mon, 21 Nov 2022 04:45:54 -0500 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D31929734E; Mon, 21 Nov 2022 01:45:52 -0800 (PST) Received: by mail-qk1-f173.google.com with SMTP id d7so7625274qkk.3; Mon, 21 Nov 2022 01:45:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=08ON0wDEuOA5N2KdfVDxrAXwMO1f5tiaJoMdWJHTTko=; b=Hd3p28TQnQEFkZjzNqGop+xyOmuMRv8kmC3PEb2luLtIudBaXLAHNCwBb0UA8k8aUF /zmKwk58GMXeRA4pDb/JQ5VIPf3wTDlhIOihM3mZaQBBeHO9ZuJfKX0hPY28yEeFduSR fVX6ieegUkvWSM/teiggUvnVxcguF/hpmU2t6fpRZv1I25tgeB3DNRtOOndjeQlferDR vWsRN4Gi5AnnsiaHbU4v7wX3PWMDlTRd4h2xOda8jdeVxs5WXLBFDLPvfDbKII/IJlth 5k6TVVwyxN4Eng1v+FPDi/8JEPh9yAop7xghXgNaqjsRx/pi31gcMFb5bN38vgKwumk6 E3CA== X-Gm-Message-State: ANoB5pniXxQlWMVWnxaIVf+wTZOC1C0FWApOYNCvurkE09UYNiCmsG4r S8IH7TTGURc5WQ0Kbc5QpJnMLa3FPEimDg== X-Received: by 2002:a37:a806:0:b0:6fa:88d:521d with SMTP id r6-20020a37a806000000b006fa088d521dmr15157445qke.317.1669023951821; Mon, 21 Nov 2022 01:45:51 -0800 (PST) Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com. [209.85.128.176]) by smtp.gmail.com with ESMTPSA id m2-20020ac86882000000b00399ad646794sm6508159qtq.41.2022.11.21.01.45.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 01:45:50 -0800 (PST) Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-39451671bdfso82848207b3.10; Mon, 21 Nov 2022 01:45:50 -0800 (PST) X-Received: by 2002:a05:690c:b81:b0:37e:6806:a5f9 with SMTP id ck1-20020a05690c0b8100b0037e6806a5f9mr788842ywb.47.1669023949996; Mon, 21 Nov 2022 01:45:49 -0800 (PST) MIME-Version: 1.0 References: <20221118145512.509950-1-gsomlo@gmail.com> <20221118145512.509950-3-gsomlo@gmail.com> In-Reply-To: <20221118145512.509950-3-gsomlo@gmail.com> From: Geert Uytterhoeven Date: Mon, 21 Nov 2022 10:45:38 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 02/14] serial: liteuart: use bit number macros To: Gabriel Somlo Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, kgugala@antmicro.com, mholenko@antmicro.com, joel@jms.id.au, david.abdurachmanov@gmail.com, florent@enjoy-digital.fr, ilpo.jarvinen@linux.intel.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Fri, Nov 18, 2022 at 3:55 PM Gabriel Somlo wrote: > Replace magic bit constants (e.g., 1, 2, 4) with BIT(x) expressions. > > Signed-off-by: Gabriel Somlo Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds