Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp441719rdg; Thu, 12 Oct 2023 09:54:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQzCPiUwNV8DPoJQX6hMfYmy08DUrhQlIPy+hBINaU7cTmpvZEe0J0zILz/wUiWIbOxolQ X-Received: by 2002:a05:6358:4429:b0:143:4b0a:5f20 with SMTP id z41-20020a056358442900b001434b0a5f20mr22576307rwc.29.1697129651083; Thu, 12 Oct 2023 09:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697129651; cv=none; d=google.com; s=arc-20160816; b=AOwGG/wnzI8FSK8ZOcbn1852xHgW77qo482l3UBQBQtyo7gygP7SgRY82rYjAnPOpH SM8imhT2N73APjXPPS6ahwz7hmS8EMvLYBNmPPZsvNUba/aYGX8qcTw/OXC602wiYzjf XbhHNpEw34pH8eUKITOBtXpYN+uauwFUNcHn25DkhdcgfMLzApuRla/17zByTGLa8+gf T7Q8ZHL7+FkvIvmUf/R53SR7UceUYJx06vs6l2AoEE/sBW/sA1EreVLriDOvmi5vYz58 mXi89/1KVspftQXZjNVbYSByZ/RgKnLFT647gt8IGZlfUNSWHO9WG9hvE+pOxPVmXtBk 3/KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4YEO2sX1644pceOCmBcjKjNP7tzfloEulvFa61W15NE=; fh=ijEm3IflUXHWKFvf8PiG1qEX1138aMQ6XKGgVqBkC6k=; b=i5gJdntXH/lKH4s18akkLoVxqcPbYsUBeN3HVfswtA6JrGf84qfODU3wMCCOCM+hE7 l0DBO9T7PfgoKjGil8n+MMZqXsTd14id2wMVmzGECfX8cuQ2ngtcoJn/albfmHccXCKV QhNokgS7N6KlmDpiZyvbKjuNJ8oNWauEO5fgZAOb5p1LlpTlSo2tQFiYIK06ppLi1CWa bFf0FvvfKgDy9nbT6nwzgvOz9TlUjDtG/O14QLbglD6kfUYrRyW7fxiKbjICmlI+wrOJ tpdbGtmMrP/51jEaEggZWOn12K35mtSh3qdc5/8ygIYbGCrcIZ0mUs6Vvwb7SBjfegJa 3fbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Vrzvn0UO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id o7-20020a635d47000000b005855f67e491si2536655pgm.696.2023.10.12.09.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 09:54:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Vrzvn0UO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 98567819D222; Thu, 12 Oct 2023 09:54:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233290AbjJLQx7 (ORCPT + 99 others); Thu, 12 Oct 2023 12:53:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344025AbjJLQxy (ORCPT ); Thu, 12 Oct 2023 12:53:54 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30180C6; Thu, 12 Oct 2023 09:53:49 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-d81d09d883dso1323841276.0; Thu, 12 Oct 2023 09:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697129628; x=1697734428; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4YEO2sX1644pceOCmBcjKjNP7tzfloEulvFa61W15NE=; b=Vrzvn0UOqTDkhs932FErDcZ84wEhSS/5wFfaQnd0Vl1pthX1RmXVDjUqLURoJtgILj lKnz1oCHgkJt7SXNadwAiLctNEu+6YJD/akcNC6KK5tlniOlKMiFMD/jMJoESCDvP0It vX/AKzCV6ADUXNJv+e4pUk1fAHWBQs3rkZAubfehyLxJJb4dDFMPh5KQ9T4YjouflH5c uzP8SO5AfAmBNJXQi4eO9s/uaW70L0N0yMUHPWTmorhPXKFORl4gWY20CZg5FxwNRrlQ pgTUSh+pXs6otssvywKdBCn3VYxFC6acl73AVRjNcGwm5WzjPNaYVZu0WcqnzBiu/IQ0 1N/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697129628; x=1697734428; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4YEO2sX1644pceOCmBcjKjNP7tzfloEulvFa61W15NE=; b=Cefu9QLU6DVROdfLP+HngvXVSnt+KcxY/Cp0TzbXe9cZE3ed4c9mgeISYJxPlzWpu9 z5asejn7B7D1vpmxfuAg2MD+BBDPDVrfeCoUREntcWmKimGCfEUpvb5lNpGmfTqC/y5j H4q35IcLuAhQHQIacf3VeWMT03EsJKspd8BSo0zaZRtpxnSB8yv9Drg1NvHS6g9nPTrb Son7tf+SkDH6Ra/7NLYcKFjJ1Wgw1Pu8wJ/9EOZn/w9yughznf75r/eLKcaUT76wANoh 53auAG8ab0Pa2TXJsULo/Ekss8s9vHvjoZAt8vaSOFGmMQRxFZfr8fYiefmPXZ/0aNOv HZGw== X-Gm-Message-State: AOJu0YyErqysz+V+FRM56g4STHa9D0FqVwwtrVFMDyVSnYSdZEoG3nus ET0P73dJ2aYR1jFyk1F2UJ2GSVBgf/mRrpEWzBQrhATQqoPggyoB X-Received: by 2002:a5b:ccc:0:b0:d92:13fc:c940 with SMTP id e12-20020a5b0ccc000000b00d9213fcc940mr18893672ybr.9.1697129628287; Thu, 12 Oct 2023 09:53:48 -0700 (PDT) MIME-Version: 1.0 References: <65271731e25f4_7258329472@dwillia2-xfh.jf.intel.com.notmuch> <20231012115039.1680561-1-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Thu, 12 Oct 2023 18:53:37 +0200 Message-ID: Subject: Re: [PATCH v3] Documentation/process/coding-style.rst: space around const To: Joe Perches Cc: Miguel Ojeda , dan.j.williams@intel.com, corbet@lwn.net, gregkh@linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux@roeck-us.net, max.kellermann@ionos.com, workflows@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 09:54:08 -0700 (PDT) On Thu, Oct 12, 2023 at 4:48=E2=80=AFPM Joe Perches wrote= : > > Do older versions of clang-format ignore entries > they don't understand? Sadly, no, that is the reason we keep it at the minimum. However, I just took a look again at it, and I see that such support was added to LLVM 12, the `--Wno-error=3Dunknown` flag in commit f64903fd8176 ("Add -Wno-error=3Dunknown flag to clang-format."). So this means that the minimum is bumped to 12, we could in principle use newer options. I think the downsides are that users will need to pass the flag (potentially in e.g. their IDE or similar) and that formatting could be potentially chaotic depending on the options ignored. I guess particular subsystems could agree on which version to use. Cheers, Miguel