Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp530457lqj; Sun, 2 Jun 2024 09:29:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGy0gMuP/mV2oZi96Su8hoW/HoNS2i9YeQuzKjxCr9kbJDC7ynkfi6EW3NFcA1Ht524s6OHIoVlf57dP/q2UrZkATvDUYiw/R0w8R2MQ== X-Google-Smtp-Source: AGHT+IG9BFTdU4LSZGcBd2tJ96bM0vdpCLoY4rG3C0FpNxd58zqhVyfE4p1Wk5hHS0PHODO2o46I X-Received: by 2002:a81:a00e:0:b0:62a:530:3cd4 with SMTP id 00721157ae682-62c797ef999mr69095467b3.33.1717345751787; Sun, 02 Jun 2024 09:29:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717345751; cv=pass; d=google.com; s=arc-20160816; b=vr/420gDcghac2qG9DHD6jzlhBAAZT/GW5CTOixQWbGZX7QzEtf3Qa3+xO/JIrFXGY 3oyZtN5YAnnAi5v7SycHyKEILrWMB8NBEdOBy1HNEQOOdFarS3Pj1xj/5yZOcFt/uXMu jvv28oUqsseehSUlYmp1/UB0jPbEE/Fk8UM2y+N8JfeSKxY2+reEJ5uo+EtllfviTqyU jeppCc/a9QEw4MCpIIiGDkB0/18rnb+HssR4aRCIgUS265y0cbO7aeX7kiCkPhlX4prl 5xXbXS4OEMnlSxEwPJbybmOrqtaaoSWpG26ao3SJI/ogDDO3W7JFXAO6bnZnTdE5FpbD P7Kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=bRAebncTr5dTqRVO5e1xTPCZ2Wb2ror0a6gDeuUh+WI=; fh=Lu6JzG9PFlsjv3hLuiV9Q3GBOZsx+fPwjKxDsCyySVI=; b=MpNwmpyyZf+9uBDyI8B4/gTjXlouRkNkKMluhdbL98ntSZdoXwgXXDalJZswkTNWHF DOkcYRuKM0jiMt/D2Bs0syABamLcZ75ZxKcyoCy1XuCoKCUBO3vguO5RAz8oBR/tkzji +vB9MjpwaDlmhc/nPBy2vbG5jXdxX6F/cCmd3yt5hsYzAfVt2AbBXWPM6TutM1teKRuM jnYDtDZxAwEJLJJwsJBDhp+75nT05+R2igpmMB5Li/AIHyil42OZpRH8VpolBUOlV38X 0Dwnw53ZR9Z142Ll8C/0zqRe3BCSCAlIxik5mHMvqb3Ti8Mzi+0zE8SJihEMvVoz9Usw V/WA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kYzbOrEb; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198360-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f318bd4bsi743104985a.491.2024.06.02.09.29.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 09:29:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kYzbOrEb; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198360-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198360-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7D65C1C20CF1 for ; Sun, 2 Jun 2024 16:29:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FB905101A; Sun, 2 Jun 2024 16:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kYzbOrEb" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 443871DDD6 for ; Sun, 2 Jun 2024 16:29:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717345745; cv=none; b=ugIx1q5rVLYuJ3UT+cIpwk83xpDB4q5f/knuFaFDoYvLZc6gwXTKSclycHSSJ6t8AwwVnLL1rGUi5rKHKmKj0KJeGisT6aKXSGxDOB7NyV0yNJ1+EG/yoBeeNrDdfr+U0ECTMT4GbYrq65XC4JY/QIfQV69T0huanaPZW7g4m+w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717345745; c=relaxed/simple; bh=bRAebncTr5dTqRVO5e1xTPCZ2Wb2ror0a6gDeuUh+WI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=od0ncIjKt1wZizX91C03JIq7T40IAG2Wb9598gigbzlbJcGV2hCLjtSSGDOlokolhog6PIYCmskatTJ1dtiR18uSIVfLCIFJB+XWWUdUGVxAgHBcOlaQtJD+tPZpHGaBShx/V9/BfvdhTHwzmZOivcGlaA35LqAxpnbfNM8gKik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kYzbOrEb; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-6c3b5c5e32cso1591289a12.1 for ; Sun, 02 Jun 2024 09:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717345743; x=1717950543; 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=bRAebncTr5dTqRVO5e1xTPCZ2Wb2ror0a6gDeuUh+WI=; b=kYzbOrEb6MSwNOI2zLUwsLLkCEt4RfsxQaUK2dP6pgX0brngZGMp5i1QKivYntb+mn N1mpVguftp8JStpaTd2xm1fZgvIbrs+aV+UPcj7M21oCeq00jyKBnb83Rvz14sPa1UY0 Qk5ELv9eZE+71G924617MiBxZwXmz68TX9lgSWy1/pczgj+25MX0xPa+5UEjFPjmeY/g wFCakZp0JnSbcpu1QK8zkFj8Y7+alnfxMlgHQhhAkHx6ezkYIRDbsgvfpthAstbxwxW+ aWjPp/hTybCuWiJ/UcqRm5TN/GxtJEcoOSNkU04DaM87vNm/U83Y04AbKNZUMnTFgW2a DLsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717345743; x=1717950543; 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=bRAebncTr5dTqRVO5e1xTPCZ2Wb2ror0a6gDeuUh+WI=; b=Twxe9Ow0uDwUY9eZ9PWcQhJybd9WNU7A7JKIvtaJOD1s/TJg5HrWHksntYtK9HS+E8 L18Y/wKy5wbSopY5EqBBuLeLZqQVcySHaHIKtkZ5jbUUjWh1g22M9Te/uuu5Q4NLhjg9 /PvmPW//Z8WHOOUo1T9SkxAJp4bHVyKPDlX1GbrfPUVN5hmpuL02W22lG2uc9ejzKnj+ VXyenpLpGWucivA86QJzV9irUYvjAwROMSwpk81RSEdJq7Q3QaI+M8nbdWxTGN3WTb0U hF7gJsEjBeyx5LwrXfv9DBVKWi7fPootHqrVy9PViSDTBNhnDtUlebzCTXDX98OCC5Fp FjAg== X-Forwarded-Encrypted: i=1; AJvYcCX6BE2DwpdENALVixST41hBzCHao/CNlfUJe7ImsEzUqO+N4ppT4kXYTCHP0i+ZBjg0Z0PYztaPwPZwxcni1G+cdcCq4Iug74QJ4lz2 X-Gm-Message-State: AOJu0YwjkfTxHA7NE6riWoK5D9WsTX1yLQAsxxyKx2LCFlD/2emOShSX Nndpfzl4YMgMu6niH2RoqBEwndkdAoQa23Efm/XQXDRsrfBKVNWtilWHPK6yPaLzak0wPJdqgV0 bowuJh4zo0QF72MGT/vLHriH/el8= X-Received: by 2002:a05:6a20:2451:b0:1af:d044:1395 with SMTP id adf61e73a8af0-1b26f141cfbmr7396195637.20.1717345743488; Sun, 02 Jun 2024 09:29:03 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20230601075333.14021-1-ihuguet@redhat.com> <874jiikr6e.fsf@meer.lwn.net> In-Reply-To: From: Miguel Ojeda Date: Sun, 2 Jun 2024 18:28:51 +0200 Message-ID: Subject: Re: [PATCH v4] Add .editorconfig file for basic formatting To: Mateusz Guzik Cc: Masahiro Yamada , =?UTF-8?B?w43DsWlnbyBIdWd1ZXQ=?= , Vincent MAILHOL , Jonathan Corbet , ojeda@kernel.org, danny@kdrag0n.dev, jgg@nvidia.com, mic@digikod.net, linux-kernel@vger.kernel.org, joe@perches.com, linux@rasmusvillemoes.dk, willy@infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jun 2, 2024 at 5:31=E2=80=AFPM Mateusz Guzik wr= ote: > > You can try yourself by editing fs/dcache.c or fs/bad_inode.c. > > It stems from this line: > trim_trailing_whitespace =3D true > > The problem is dodged by setting it to false or adding this to > ~/.config/nvim/init.lua: > vim.g.editorconfig =3D false > > Is there a non-giant-hammer method to disable the thing? Maybe some lua > magic to special-case that this is the kernel tree? It may be possible to disable it for particular folder/patterns and then try to get their maintainers to do a sweep eventually. Cheers, Miguel