Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3347794pxj; Mon, 24 May 2021 04:48:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAeia092Tg6wwjLnx4AZ7Bt5lWWMIazHHCBl2iVHlNaftM4iq++8dl5Am/R3K04CrYFedw X-Received: by 2002:a05:6602:2e82:: with SMTP id m2mr13472703iow.190.1621856915694; Mon, 24 May 2021 04:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621856915; cv=none; d=google.com; s=arc-20160816; b=jUlvavF2OEJko5Yhs39uwTC09zQwxi1e4S6XSxUjL6wrw50EyzROc5twQERuS0rsGV bdxuxiTMk/Mvv8FylSlNHfjUFYbQhi4SEj+s9IEyjKgemA3dDPOJrSX1Hhf3X0VaQadw MleExD7mCuUZbU10ZIjQ+pX1V0KuZBO5UM2S+AxAOjA9xxKQoaj4yDwmVzuzpqfgmGVv Jnb27kRJgn+scapfK3vykIo4B/FepPflMhAQIH0vxk2TtA/gzDYDWszlZCYkDfFFPEs9 Y/zaArkpTkStcDXsBJyBeo6rlRqiqyF8nEyd5OAdsCcsS9xmnZzU+vfJ184MBpP0MdUA 9IDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UEO6EAq0B/BZq9m5Zu1X6wIqhfXCfA6vaV6yeUoFwnk=; b=uwWMsvZBRPddCho12MN/paU6B9Sc2K7cWqbOPTfP5eM+HR+S2GbC7T3MRVGk7T/K0r 5di7L2hq7RVjlFe6E0TCJ/j7ypcCKb/v0dB82Nz1Vaxwj3OKlK2U44JLUx/sj2fsLgxh 8EEZFzf+xWOVbAhfUt/0Iq0/D2tWq6HveCEuzEoPerKu4wxxY/N5xjrV7dalKSKVU7QE J5+d3CBVPiH6s+wBrFlq8mdCTYBuYZzWK4kXIcFBgATi1MR2bZZ+kR3pvZ+uLRpfF8aA OAbBFTPUcJ2y+DoNUyd5vdS8C39nn4OGsAj+RD8nd3S3IbAIrpWhgSrjR/ik0qcJGky6 c/SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Or7cMQ7N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j6si14697345iow.6.2021.05.24.04.48.22; Mon, 24 May 2021 04:48:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Or7cMQ7N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232712AbhEXLtE (ORCPT + 99 others); Mon, 24 May 2021 07:49:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232553AbhEXLtE (ORCPT ); Mon, 24 May 2021 07:49:04 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A463C061574; Mon, 24 May 2021 04:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=UEO6EAq0B/BZq9m5Zu1X6wIqhfXCfA6vaV6yeUoFwnk=; b=Or7cMQ7Nzl98SOGOLDHWQs5AkK kd6QvgbIiLkHCNig8TZkoK4Qk6eNVlF8A1kPxiWTx3ZYBfDZPOecUnZcvWOhgRctNgCnWdwgB/Qkx vLz/kHulVD5Q6nuLTMUhcHWhdHOikWBkftygJrUaInoHHfJgHwqdSvdqSKR/pHk8CGtAnPw9D02tj DyDijYr5PtZjidf15hDW7+YrgdJ2t2IoCJ5Jbiw/8ca42BSrgNbBytwINWR8pyZ0gSJbhKsaUYEpa XRN2E5K6gLTLC74ituBPeZOM9HNyHtpT5HLvKmUofGtlt98U4zea5TdBHH9bPhlQAy+2O52rgjPuk bCEGnSFg==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1ll92Q-002KEc-QT; Mon, 24 May 2021 11:46:31 +0000 Date: Mon, 24 May 2021 12:46:26 +0100 From: Christoph Hellwig To: Joe Richey Cc: trivial@kernel.org, Joe Richey , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Paolo Bonzini , Mark Rutland , Lorenzo Pieralisi , Mauro Carvalho Chehab , Zhangfei Gao , Zhou Wang , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-accelerators@lists.ozlabs.org Subject: Re: [PATCH 0/6] Don't use BIT() macro in UAPI headers Message-ID: References: <20210520104343.317119-1-joerichey94@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210520104343.317119-1-joerichey94@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 20, 2021 at 03:43:37AM -0700, Joe Richey wrote: > This patch series changes all UAPI uses of BIT() to just be open-coded. > However, there really should be a check for this in checkpatch.pl > Currently, the script actually _encourages_ users to use the BIT macro > even if adding things to UAPI. Yes. In fact it should warn about BIT() in general. It is totally pointless obsfucation that doesn't even save any typing at all.