Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp97561pxj; Thu, 20 May 2021 05:23:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCEvAzTWsGsUK1NhwQ0f8ekzsHGw5aX6CWBjYnVGmzBuNesRYo1B6JLj7SucmTW5oIG/fC X-Received: by 2002:aa7:d50a:: with SMTP id y10mr4672291edq.161.1621513381145; Thu, 20 May 2021 05:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621513381; cv=none; d=google.com; s=arc-20160816; b=WPI46E7AeO3+Lg6g/VmPGjCpJ5fSIowEkCwzpLC0e8cuhw04iRtbSqxxkuRUZj3kLO h7GTsDjsBoUlf8Hqr7Uq7JGjh8liEy2AzG8KO3CNRp71GMJUsdghA4aGCLO8KBmkX5hM VzMaV7yQN+bndYd7Uccc0uBj6jrr4oqo7pum3hZUH8zLzltfPzf4edr87dF61qVpODa1 B8UBI6d6/MRbX5frQsxcZEOHMbW99t88wkT6vRGVRE8qJ3smgbrHu0Pisb7xdwVZ4U7N 2OTuMnPqUZHmpqiQZI9QZ4wQIgiB0ABEXLTJTLoRu9R3C5rWxtXjNc6J0S4ccfkdy9Gy ocgg== 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=6ryephn32BMCPHeqpBpBr6gH97AaCQkIjAqmadwjmII=; b=FaVZr9V+RpJtqMpdeb+vJNeMEQ9VfuOifcbemzKnU+sevA38j1MswOrLoP/6GKangu aLge36NH0I1ZW1aUR7mtGKy0vTDQ6B7wkSaddCirVdIh/OrzvcVVEj3DXcU0BZN1QQjh VAZwjJ9k91oewMg7OjZCy2aMl6tIUFIV72q0sbqhFzOTJzEPOsPTHBLDXwKgA7u/HNKE gVWPtH+F2qYjhYCUx4opciJ1wFyGEBbZ3kr15QVWHNud0kzZwBoBKZ5VlWop8iIWdUwe M2LUe0iPqDvHTIXGSQIIb016zRj4YUX+I5QFZXMnPkgrz8aWW4+uKcTuo5WOP4zqw5yL 67VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=KyJ7VT4r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si2013744edo.240.2021.05.20.05.22.37; Thu, 20 May 2021 05:23:01 -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=@alien8.de header.s=dkim header.b=KyJ7VT4r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232412AbhETMUD (ORCPT + 99 others); Thu, 20 May 2021 08:20:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242308AbhETMTb (ORCPT ); Thu, 20 May 2021 08:19:31 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9C71C068DAD; Thu, 20 May 2021 04:07:42 -0700 (PDT) Received: from zn.tnic (p200300ec2f0eb600eb28425bb4f209d1.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:b600:eb28:425b:b4f2:9d1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 975E21EC056A; Thu, 20 May 2021 13:07:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1621508860; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=6ryephn32BMCPHeqpBpBr6gH97AaCQkIjAqmadwjmII=; b=KyJ7VT4raYWbRpi6bTG/AnBdqj2MnxuKg/VHQZJmhYOnYAXcNGO6YJi26H53UVYonmo4Zh LejSU+aQWAC48TUZ3VLYjeIO2uYLJpEGekNsvwYTAEvRPYuhYndWGkRLCBDYfQNHwH9wt7 p6Zfmcq/vQmEM089rd+EQcmnZK/vVTI= Date: Thu, 20 May 2021 13:07:34 +0200 From: Borislav Petkov To: Joe Richey Cc: trivial@kernel.org, Joe Richey , Thomas Gleixner , Ingo Molnar , 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=utf-8 Content-Disposition: inline In-Reply-To: <20210520104343.317119-1-joerichey94@gmail.com> 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 Wanna add that check too? > Currently, the script actually _encourages_ users to use the BIT macro > even if adding things to UAPI. How so? This is with your first patch: $ ./scripts/checkpatch.pl /tmp/bit.01 total: 0 errors, 0 warnings, 7 lines checked /tmp/bit.01 has no obvious style problems and is ready for submission. Also, in your commit messages you refer to patches with patchwork links - please use the respective upstream commit IDs instead. Grep for "Fixes:" here: Documentation/process/submitting-patches.rst for more info. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette