Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4836375rwd; Sun, 4 Jun 2023 14:09:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5E/oIUHLPb5bS1VZgMH9+ed1fNZoJnlxlJwa2PrwuyRRJpqJI/5/EA9NZjJgLGLNBlHYkY X-Received: by 2002:a17:903:2352:b0:1b0:bf80:d1f2 with SMTP id c18-20020a170903235200b001b0bf80d1f2mr6062123plh.49.1685912979775; Sun, 04 Jun 2023 14:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685912979; cv=none; d=google.com; s=arc-20160816; b=YS8VhxRM0LyFfQoLJYSFZlIYec4XjAO+cuwukGD4E/7HI7Go1gHLwYb50f5vi9OTGo dMqAO1dJ/eNv0wfUPVKUtXSB/2rd03SJSSPXq4GhaxWWbTgjj8Jtqa8++LJ+43OlXgFj j02YN0AoRGb7ShOsXJtYluAMKpf8WoykGGBIffKRBlFK9QngMc7OTLNXVrxLdyvDNSCF G7W9oWMtYvzLWrH9Px7kkniHCHrS7Wl1UQ9zwWvE1v7gkj7a3R9jfMwqL2Sb1mn+yi1f r5dQAOq1VojI3sD8KxaEZK5vUknEwvLdzB0x42sK9Rr6SNEYPBAB/mxc5XL7hFY51uRY FVUw== 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=hrzRhdPWgyFGA5EQAoArkXGFEb9XgbN+NGmVY0Sg/3A=; b=l9q+qWf2b1VyXuPSk9ZG2hw+w6U11T3/YBFdr7fAVR+A8eSWeSWfPrwl7+dp1vCS3y R1WaH1v6EjLB3rTg8Ih8H87PEgJXvr0s5NqNLFiBJHWcOg9OiTUI1LnE8q/Msw6SE806 513QvN6Vo812EjbknwTU1Phpu0jr+KtCIOh9xnVXanGhe3OMylV1KVPfZGkR+1cs+D8O eAlrfFIfvD1TxdzuFh75sjyTjuEdKF5yXRZjGgww2UqS+waxat4yHNpIQRGXHmN8g1l+ JBYQ70jbhFQ6pQ1eEuWVLfjZPg4Hrb2tnTUpHrF0uCiLzwZaWvZBPHwwEt569d+7On+a Lw4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EwrOAuRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jk17-20020a170903331100b001ac896ff65dsi4259214plb.480.2023.06.04.14.09.27; Sun, 04 Jun 2023 14:09:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EwrOAuRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231723AbjFDUtO (ORCPT + 99 others); Sun, 4 Jun 2023 16:49:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbjFDUtN (ORCPT ); Sun, 4 Jun 2023 16:49:13 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A303DCE for ; Sun, 4 Jun 2023 13:49:12 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-565cdb77b01so42833127b3.0 for ; Sun, 04 Jun 2023 13:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685911752; x=1688503752; 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=hrzRhdPWgyFGA5EQAoArkXGFEb9XgbN+NGmVY0Sg/3A=; b=EwrOAuRy4PeqUV1EyNpJ1ymgFa87VwLN5JYf46fZ3Pm21IKKSYgFVpQFzsBBRYJGWF rGHj4styziiD0rQitQOKJzd5MrbHeFjyeD8SzXwnL9xIn0JfAQtrW7/ZhV91W+ghoD9b R3TcRspWr7L5SDhqal9aIbxtSPTGcR4pJJd8KwGf77Pl+3KnJAyzj4zru5FSiFBlQwl9 pegJKSD/AbSv10yN3IV7tKjwWM/CUKXXZ1UzP5MhVmqAoS4/iyY3Nz11WdRDbr+Bazjv gNAym3p+K2WUhR76UBserf7j+x33TOc3u8gqNE34Dp39CKMeVJkJpW1tz/X0r66m/SDB nKBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685911752; x=1688503752; 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=hrzRhdPWgyFGA5EQAoArkXGFEb9XgbN+NGmVY0Sg/3A=; b=RWPJpt9947RLf0py1w7KW7g0NdtSO7vz3vYEOZo8rYsLvWXocz6HktSIowYiO9x3lX Sswkf6nwOfFt2maK8ofD20rnZqYdeaqxrYxAZadH+Lk8SIRsSbtD1MNamYH1K8GLMY3W 1esjjg4/2a3jmGh1YFj+UrIPJA4y/8A0g+LhvuZcnMnWuTkAQSreHAxEHSjPHpKjbiT/ A4SvztMinumis9MJAmQ/bvDTLEm22tLTEshY7o2+4+BcB6WYrGfiIxz1pXlmHxQmoXnr iWW84JjkMRAoHG7caiGUPbPjcyad8zSxN6r1BD/az9jQxxBA+rJAMVFr9MqdDAQUtZ4n xJcA== X-Gm-Message-State: AC+VfDxwmKn2JDwiacSTDnSEo439OTLTIEgofbWfhm9h7NIdi5ZGsC1b BUFWafqhkTRLRYcuCtzDNqZ/GA97F3yo24UHw3w= X-Received: by 2002:a0d:e288:0:b0:565:c7dd:95b9 with SMTP id l130-20020a0de288000000b00565c7dd95b9mr6977494ywe.12.1685911751719; Sun, 04 Jun 2023 13:49:11 -0700 (PDT) MIME-Version: 1.0 References: <20230601075333.14021-1-ihuguet@redhat.com> In-Reply-To: From: Miguel Ojeda Date: Sun, 4 Jun 2023 22:49:00 +0200 Message-ID: Subject: Re: [PATCH v4] Add .editorconfig file for basic formatting To: =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= Cc: =?UTF-8?B?w43DsWlnbyBIdWd1ZXQ=?= , ojeda@kernel.org, danny@kdrag0n.dev, masahiroy@kernel.org, jgg@nvidia.com, linux-kernel@vger.kernel.org, corbet@lwn.net, joe@perches.com, linux@rasmusvillemoes.dk, willy@infradead.org, mailhol.vincent@wanadoo.fr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 2, 2023 at 5:37=E2=80=AFPM Micka=C3=ABl Sala=C3=BCn wrote: > > Looks good to me, thanks! > > Acked-by: Micka=C3=ABl Sala=C3=BCn > > It would be nice to have a script to check files and output a diff if > they are not in line with this configuration. That could also be used to > measure how many files are compliant with these rules, and add this > stats in the commit message. Agreed. > For some reasons, maintainers may want to exclude some files from these > constraints. It would be useful to add some documentation explaining how > to do it. I would suggest adding it directly as a comment on top of the `.editorconfig` file itself. Or, at least, put there the link to the official page (https://editorconfig.org), which mentions `unset`, assuming that is the way to do so. =C3=8D=C3=B1igo, I would also suggest sending the patch to Andrew Morton. Cheers, Miguel