Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp161006lqp; Mon, 10 Jun 2024 23:45:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpqgTM99vNS9VwowGeNKhCWK5jUC9IJk6tqcrvkxg2JGeW0ckfgFswYJT/Lc6sdD3fm8tkReFaMCapWNmUa7mD6lPaQx5IXHd+mOxyvA== X-Google-Smtp-Source: AGHT+IF5D2TU2g8M5vupby/LQVLwG+6XBiVyUcRZQBTxyAl39PxcGiLIpD+C9a2F51LtXIQFdhDG X-Received: by 2002:a17:906:2b52:b0:a6f:1473:379c with SMTP id a640c23a62f3a-a6f1473387cmr350871766b.45.1718088300878; Mon, 10 Jun 2024 23:45:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718088300; cv=pass; d=google.com; s=arc-20160816; b=rhL8i8gs+br9QIMjI8Ak53kTIqyCmcjulursjpqsLf9evJ3JeA0UzuPi2I+tZnxpE2 5E41Cb4mZy7RCChDpGRbEKe3hL1XUr/+YqLXzIDAtjrXsvz84bGz22NIUvAqERkYjWJj 8lqDAnhZzsEEeSzmcK+1BQWu5Q8BIPuxKpomYfqT9eK+jCbh2CJ/WFvfonVHN09H54rM 1MZhlc9cfSXkQwAxWT2vcJ0r9DfYnGDUdgW61oR/H8tih2FyVK3dWwiZXbOzf1rRIRvV BuW0tox+R+PoEzf1iPbhHiVLVTYrpntk5I2oefh/2uY568qLgBPTCVwd6DWRw9/EJXB5 9j5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DXvG51/mDHRZmvhtiUdZ2bsmeUfY7+8U5MnO/lBKgjA=; fh=UICEtxPpHLt2gBGoJTiSAeIs1g+nG8hBRyd25lfILeA=; b=oaZy7yI+3USuF6S+92fLEIgWrGBx6o5idmpjF5h+RH/F0I3ekkVTpKVvt+tcV2hZbO qrSVKXO1GPbC4l3HeczIMM5nkiPClCxRbJt/wP+7fff0c6kxPJD1IKsl8Tu5wW4hZZUU 1r7enjALeyNZ8Lvwy68TrETb6gVT9VlJWaJhw1+1fS/ddahupICe8k4taj7z4ohIsGx4 lk8AU+VI438SkBJvAKgnzIYKrPFltp5H6KHN56QRPURBzRPYaQiN15kj+qNUylKJ1slY Dqhi4BelVFu3fQ4Wzl05qFzp9z0KTCbfwOtG6C0KIqfQTHnoEOaR0o5UkLfr9UVC4Ceg b1lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="VQ9Kz/5e"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-209335-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209335-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f1285810dsi240782166b.842.2024.06.10.23.45.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 23:45:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209335-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="VQ9Kz/5e"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-209335-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209335-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9722D1F262A3 for ; Tue, 11 Jun 2024 06:45:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9577C171E53; Tue, 11 Jun 2024 06:44:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VQ9Kz/5e" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9DC417167F for ; Tue, 11 Jun 2024 06:44:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718088283; cv=none; b=kWkmWQt9IuIrO0mCp3XQ8PhiPPSltSuGaXFvsdUTNrK47V+rF/or08FsLeCeGar4kS+udrzdHKAUB1cecsc/6X61PYS6OFS4UPpi7RHn+y1PrXiqNDS3FkX+zqxXFpCqvb/oTcA2AVxHMg273hi1eepAfjgilyDHWB73iQJwiPI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718088283; c=relaxed/simple; bh=o2we8r9Ahksrb3sGmQK18levJUOeWOO/po6c1cqIDXk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Cev8EtelERTNV9SbMgsWlFg7Oi3UrcCXY1Bi3hxaSxy49xY35b7AyshvFTZ2k6lurmJoomVI2A1nJ68pRlRCdS/v5eATZtnqRXPbojH5g9Ebf7U3vKnZubgCe4xiIrBEMGTsAxRSUWEnfkz9z4OLuqRwW9BWKuEAPtC04OvaQ38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VQ9Kz/5e; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B77BBC2BD10; Tue, 11 Jun 2024 06:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718088283; bh=o2we8r9Ahksrb3sGmQK18levJUOeWOO/po6c1cqIDXk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VQ9Kz/5exOpmFjVURe5pJhN1XQ3w2cU1BpuNHlHQU6dngLWGxWZR8m8kaV6KPzm1I k94i9haO/aF4cbFOY/SShbBhICkfspBL1BBCc6aQ6puBcxLn3j1k9I64gG2wsHnH5z 5hqNUzspw951Is79YY0EgUwa8dJ8kskZPSQ3Hlwc= Date: Tue, 11 Jun 2024 08:44:40 +0200 From: Greg KH To: Jason Gunthorpe Cc: Mateusz Guzik , Masahiro Yamada , =?iso-8859-1?B?zfFpZ28=?= Huguet , Vincent MAILHOL , Jonathan Corbet , ojeda@kernel.org, danny@kdrag0n.dev, mic@digikod.net, linux-kernel@vger.kernel.org, joe@perches.com, linux@rasmusvillemoes.dk, willy@infradead.org Subject: Re: [PATCH v4] Add .editorconfig file for basic formatting Message-ID: <2024061159-armless-conductor-3cd1@gregkh> References: <20230601075333.14021-1-ihuguet@redhat.com> <874jiikr6e.fsf@meer.lwn.net> <20240603121853.GA19897@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240603121853.GA19897@nvidia.com> On Mon, Jun 03, 2024 at 09:18:53AM -0300, Jason Gunthorpe wrote: > On Sun, Jun 02, 2024 at 05:30:51PM +0200, Mateusz Guzik wrote: > > > As is I think the config mostly gets in the way and most people have a > > setup which does not use it (for example my vim does not). Alternatively > > maye it is neovim which is overzalous here and other editors don't treat > > the entire file. If there is a way to convince the thing to only tend to > > whitespace issues in edited lines that would be great. > > Yes, I think that is quite overzealous, I'd view it as a vim issue. What? No, vim is doing exactly what it is asked for here, it "trims all whitespace" when saving the file. I too just ran into this today, and it's a pain. This needs to be fixed, sorry. greg k-h