Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp109434pxj; Thu, 20 May 2021 05:39:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6ha2QlfJjWr4uOm+ZfTYJPoYrID0FH4Q6ry+hQFS8I84Tabm/UTVHfKkIa1YL72NqUVz8 X-Received: by 2002:aa7:d455:: with SMTP id q21mr4752243edr.2.1621514363199; Thu, 20 May 2021 05:39:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621514363; cv=none; d=google.com; s=arc-20160816; b=RLVrkXClzXF7rgJ+V/GWkCS/LtCfijZ5MB42l2AiRHH6oVfWszbxaFaAr/9QcjaMqO gcpMS6Yp5l+E3IjtwELmcoQWqKTXHM0QV2J4v2w3B8xeAk8JInh8vnD63igaESiLUnlH wa9tbCGVBOmAP1SAfQfXH9RFK+u2KD9zXWE31JCg5IQANcPF4hgjrMTGkJYAPNB5ppNP bCp3R5trAWx6UnelvgEr/DzeUZyF2l/tuZgOI5URrDu/n5vvpp6ZiVzZNM+bf8SRwfUY HuYpOGNf5RPGpyTdaBDee3bVnjP0eYSFDppDKliH8bGUdsPSP6nua9CVkddaqEsPub8k 6rHg== 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:dkim-signature; bh=kA7gbYG5mZ/XE5ox6MsJ7wukpRv3oiq5D7tNsc46zVo=; b=yLDOBWOpVCURuBTNl+Gxd3c54M/4hALDw7df2YDkbcIxTPjjjd51L1FxCXyM8DPTfM DhwvRXuimjzHt2dA5CfszjekZGHaU+dv8EVqMZVKN0E+zqtkYfF0SUVJdq6Tt6GR4VtO WQ/4oATDgoQx8ORUOIieOiHhZxeTBDkT6UORAqdIbhh4k9OGAfQjWCt4TNccO11dCpbt LexHoMYlh2kgoWZJMjoyml6DqTmwSIDb931ZdzSx1RRtfzAOt4RcFSWjDIr5kQP7t3jO yIxzy1jRxYvb+us82XP+PugvAD6TX3I2S3oJqiFWt5CpYDU5R8ocZCf+5eD1cXgWPnsN qOSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="vdSRm/Mv"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eo8si2346419ejc.686.2021.05.20.05.38.58; Thu, 20 May 2021 05:39:23 -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=@gmail.com header.s=20161025 header.b="vdSRm/Mv"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239650AbhETMhr (ORCPT + 99 others); Thu, 20 May 2021 08:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238589AbhETMhb (ORCPT ); Thu, 20 May 2021 08:37:31 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FA1BC0E434B; Thu, 20 May 2021 04:50:22 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id w1so11081680ybt.1; Thu, 20 May 2021 04:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kA7gbYG5mZ/XE5ox6MsJ7wukpRv3oiq5D7tNsc46zVo=; b=vdSRm/MvOkj2jQDDq87RdfrUUuXYO0vQdgSzqw3sn0wA72CJChFzMh9Af+5g8S6oVp MOs/Hf0rhka+MGqnEtuc98XWsaRbTsgYCk/7Ez9tdkMGeUWYBs+HET/Tz5b3DfhPeYuL s1KGy3wMPfUjfSfv+xPjcxkrurXt3k9J5DIPWfCJVdB7VY7TocjTvsyKWV4sLyihG74Q oYCE/UbHH4J69AGYDK5n8Lo0GFuqkvSBV2AaoUEAcVkoTe+dMM85HNSO2ULriwujfwGG 6vDAujO/Mu8NUQur4bo/+WJMqW0g+J4fnokAi/RekXmHTY+UiskEsStnEbLXvHCxQ207 qsSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kA7gbYG5mZ/XE5ox6MsJ7wukpRv3oiq5D7tNsc46zVo=; b=GF/SjJNHMyz2Lnz7UHoXHz/zWkGvXU+gb+EUdOTnBmj0lOqJn6wimman5lf3i9T6Ux jc6kvEejqpdCJPpNL1CO9YWfNoagZ9WXbuDiwawtWo4R5Z4Gaoj9QREJTSI/T7KZW91i 9o4X2MgBkLpoBBDi+xwBIkJgzb0ZksWv55L7KcfXuiz+pFNdxwQMNNqsLFwJlr33URiR dZqhpQTZY3V5MSFbEqe173etL8KElD3tqw2tQRMpnZVu3ZGR6llCbz0ihcqyBjw2ds2s eSFtKJhkjeubkA1PNDjgKbCe1r30snyE8lvAxe60h7iKDU/KdSVELv3R8bPM0CF41BoD 41eQ== X-Gm-Message-State: AOAM533AoYiVn2tWCccqAq/y9aaweJmULWw7RJR54NDLI5GMUoZGSlIi mSZx4A4+Hm/3mBYNyUGMQ5GF6aAGswK3qZrwFOQ= X-Received: by 2002:a05:6902:134f:: with SMTP id g15mr6765498ybu.278.1621511421871; Thu, 20 May 2021 04:50:21 -0700 (PDT) MIME-Version: 1.0 References: <20210520104343.317119-1-joerichey94@gmail.com> In-Reply-To: From: Joseph Richey Date: Thu, 20 May 2021 04:50:11 -0700 Message-ID: Subject: Re: [PATCH 0/6] Don't use BIT() macro in UAPI headers To: Borislav Petkov 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Currently, the script actually _encourages_ users to use the BIT macro > > even if adding things to UAPI. > > How so? Running checkpatch.pl with --strict gives: CHECK: Prefer using the BIT macro #26: FILE: arch/x86/include/uapi/asm/hwcap2.h:9: +#define HWCAP2_FSGSBASE (1 << 1) It should probably just recommend the _BITUL macro. > Also, in your commit messages you refer to patches with patchwork links > - please use the respective upstream commit IDs instead. Grep for > "Fixes:" here: Ahhhhh, I figured there was a more standard way. Will fix.