From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9A33C433F5 for ; Mon, 20 Sep 2021 14:09:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 861226109E for ; Mon, 20 Sep 2021 14:09:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232656AbhITOLJ (ORCPT ); Mon, 20 Sep 2021 10:11:09 -0400 Received: from verein.lst.de ([213.95.11.211]:51635 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbhITOLJ (ORCPT ); Mon, 20 Sep 2021 10:11:09 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id BAECF67373; Mon, 20 Sep 2021 16:09:38 +0200 (CEST) Date: Mon, 20 Sep 2021 16:09:38 +0200 From: Christoph Hellwig To: Bartosz Golaszewski Cc: Joel Becker , Christoph Hellwig , Shuah Khan , Linus Walleij , Andy Shevchenko , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Geert Uytterhoeven , Kent Gibson , Jonathan Corbet , Greg Kroah-Hartman , Al Viro , Jack Winch , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v5 2/8] configfs: use BIT() for internal flags Message-ID: <20210920140938.GA24424@lst.de> References: <20210920140509.5177-1-brgl@bgdev.pl> <20210920140509.5177-3-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210920140509.5177-3-brgl@bgdev.pl> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Mon, Sep 20, 2021 at 04:05:03PM +0200, Bartosz Golaszewski wrote: > For better readability and maintenance: use the BIT() macro for flag > definitions. NAK. BIT() is the stupidest macro in the kernel and shall not be used ever. And I'm pretty sure we had this discussion a few times.