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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE 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 58FFBC43460 for ; Thu, 20 May 2021 12:18:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3CF4861186 for ; Thu, 20 May 2021 12:18:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231797AbhETMUG (ORCPT ); Thu, 20 May 2021 08:20:06 -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 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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 CAAA0C43461 for ; Thu, 20 May 2021 11:10:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 70D1B60FDB for ; Thu, 20 May 2021 11:10:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70D1B60FDB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alien8.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WnKhqGSl01vgwMdKJe/lmD56leu5IEL3EAkGCS/FLsA=; b=Z6HX9Of8Jc/j9Dvba0LZBncMNO uGHpNCblIlWqN2uno7CH9FoF2Iw2N/tluPGiX+388sC0NgvllMhtTSBuyoh2HKuP3A+Dl8fFWu/XP l9JlEQj+ZMZGav3q+S2pQOh/hQAIvOAcpAr4AvKU2iLi7z8HVGXQiquK8urTVEXG36z3EroNUvLjk AZ9PAojL3dgJ3D6K//JZ6UsSh0YXJALFPjGXW/mL9++P7An/zlhnJSxIqD/CSXNSV5wyeJyh+StC8 t4R6d0VgoLVNZQU7asnDBxAhKzprrJC812x53GeMfGS6WS4OzGDXQJwt/23EIa8ofkao4rxosOoOU nI92f0Cg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljgXK-000Kzw-4U; Thu, 20 May 2021 11:08:18 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljgWo-000Kd3-Gu for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 11:07:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=6ryephn32BMCPHeqpBpBr6gH97AaCQkIjAqmadwjmII=; b=OGk8eLiOTu30e1in/1qTlNLl73 TRZ54nbUgYkd1NbDD84bn3GkPSjydkVGMBbCMSUdj9pQQNuRFC8nB5iwO4pd7gIqbMBGQ1anuRcLo FC0xgU/kSa3BQAtr01aVPjmrfhepUEcphKou/rfgfaZR30dHtK3VsFDXXCGoOY0gnFyvwozb9LLqM z7F3PReeqE/lKuaVKkf7xuu4fvsCVW7+ObAbCdcFhkzJiWWht6YSkzpa+qFExZFwvmoD08bJpYiqW mdw3MXaOzsqDcRT8vDzBdGusHC6FFGGUqBRlxtMjWvL067GIL3dkVJwGyEG/rQp3TL/s1g1Lrkoks CwyJklIw==; Received: from mail.skyhub.de ([2a01:4f8:190:11c2::b:1457]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljgWl-00GDlK-IP for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 11:07:45 +0000 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-Disposition: inline In-Reply-To: <20210520104343.317119-1-joerichey94@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_040743_788363_946E7CCF X-CRM114-Status: GOOD ( 11.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel