Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp192188lqq; Wed, 12 Jun 2024 23:16:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2FV+0TR6dk3fTN51Uty1kBd8ohg686NcUcc9MfteMrtA0h6U6kAcIS5YwWqQiQh6Vt421EaLbLvtFuw9oAoz5BMIWp9d4RN8Em2BQYQ== X-Google-Smtp-Source: AGHT+IEvxone/liDI4eiDmsaI4ULTIRlIxS/FDJPkUtGm4+FOCBjnRLizhd6jrFct+bvbtRMSiP2 X-Received: by 2002:a17:902:bd89:b0:1f7:364f:1162 with SMTP id d9443c01a7336-1f83b610f05mr35115675ad.31.1718259413329; Wed, 12 Jun 2024 23:16:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718259413; cv=pass; d=google.com; s=arc-20160816; b=GimD/IRznPA/nbFrz2FeBnZAeBrdu2B0qdrxo7dgUNbP+MA+N1MxZV8HeTrifSkSTb DaGKrkOpOind6fpZSHmMsajUorWhXbCM71LglgfbI0OY5CYpVxKPEGjpVtePQPrYtU0/ DrOQLSEsOlsToD5hi8SRr7MpdoP+6w5C47jwW4gw9nEoKJLIb8/pPAA8kDVML5f78WSh PIYqq34OXenRN9vG7HXl/7QNk6ZN5SQAOzl78bDmxyBvXvUr0biRDcRrYUQ4tgxx81mS /7DjhA0YModWXrSgcMv5WC02TjAKHv+N3KQFaFwUx4u6LO2vTi1l4HpqHv03zZ+I/f1N 1Bxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=cJyRwspMpO8/RHezIb/cHGgk+lQKzKJgdWi/nj+3zmk=; fh=WoEgq0h1jfGTaHgzhbrKgq3vFah2Ucsuk4QRv0lUMro=; b=UXjTuMyWT/JhwoWUSxoNBGLsJa9vGk4U35rRS7Sv2ZorMTEqj6oWz0+rWfL27qrPOa Zry+2JzRu7AiztpqMwDcveuYMsA2Z1mGH+0lwAQ/sBrAzsG7iYB1LlacXKvS9nF3Oehl 4WuDu1RofewRpyoMlzbilBErC5M83UUBYMHfKrtKbl9ojpSUkhIC8H5yY0XS3wnoS23U ReM4oJrZ3blb5mpV4TVdj5IqIMZXYGJFfv/KMhvL10QY7r+3X7du0veqQ6ZPP1TgGjW8 PVr8++jkbQsDK1CMQOngCwLcOy/BgWHohSY5hda407WUQappSDgoIGTzTDnnU7hun/ld HTNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gx17ErcU; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-212607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f855e535b5si6194045ad.165.2024.06.12.23.16.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 23:16:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gx17ErcU; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-212607-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3FCBC283534 for ; Thu, 13 Jun 2024 06:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F893137752; Thu, 13 Jun 2024 06:16:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gx17ErcU" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 D55E11369BC; Thu, 13 Jun 2024 06:16:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718259383; cv=none; b=I8CIC/Q8tQVDvWlLIFb3Wlif3TZuJLsR+N0aaVGRbkS/rnH3zS0Pn9CBmBndOcSkzYQX9AzH4b7t9ubh7z+XAjRgAj0nWNhreDaOlspvLo/5Bi8hCeGDpBq7mALGk3G28eiyE4zgCT3uWnCZCcNzMorWr4zUc6J8yd/zi6thRPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718259383; c=relaxed/simple; bh=gGtIVYGg22wLtYzNDK/SjLScQH7VyamnEbat5FMLgyk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=rY+IIbpevSrb59Uu9zHpZV8I+BCqQN8MinU9mh8nAa9MfzD9dmDkoGh8SegT4waFxZyTNtAFfkT0kzHI+AfakbPgbUKnlV2A6naZhKlNqZxpE3y/tEw9MjuAfA8XaGaEqMCseT6PAr0kdVDBtWzdgjebrKQvzkuPXw/GuESSPx4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gx17ErcU; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718259382; x=1749795382; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=gGtIVYGg22wLtYzNDK/SjLScQH7VyamnEbat5FMLgyk=; b=gx17ErcUlw/pjo9HfhuNO/F309quZPMiTX8tZ0W0u3aAy6ymLonA6pEg RlTT8hbGx+u6XyAW2Ycvvrj2PzJ5EqMI24Twe+DxCpUjgiMw//lQ7kCri E9qUTWdPKQ4AQI/Sx3HAIsKi2K8cuVeZkq2HDNdtO9qf/D65yasUsa/W0 P7vPx+gEzTv9pIVd/7PKoOckxeRygG7AgYOHvDoQSKNqDolfTlETbF9hh fRRYYHu3NwhC4hFmhkaqSlQH5eKZRwrEIQcdlGlBjg628/UK1HHjGTWy3 NINckoxYvHmMqF3eMCst/SOtA9zvP4/WMKaN0llX5CTolKDy2iZBKx5/i g==; X-CSE-ConnectionGUID: ZTZjNM+0S7OVg6oAyF/oag== X-CSE-MsgGUID: 6/OgpurdTj6CzImb+3FmsA== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="15022951" X-IronPort-AV: E=Sophos;i="6.08,234,1712646000"; d="scan'208";a="15022951" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 23:16:22 -0700 X-CSE-ConnectionGUID: MgXS/vLmTcafwv7Jw1NbKQ== X-CSE-MsgGUID: hY+fhsZTR1ujavD+nYkliA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,234,1712646000"; d="scan'208";a="71236673" Received: from iklimasz-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.112]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 23:16:17 -0700 From: Jani Nikula To: Greg Kroah-Hartman , masahiroy@kernel.org Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Greg Kroah-Hartman , Danny Lin , =?utf-8?B?w43DsWlnbw==?= Huguet , =?utf-8?Q?Micka?= =?utf-8?Q?=C3=ABl_Sala=C3=BCn?= , Vincent Mailhol Subject: Re: [PATCH v2] .editorconfig: remove trim_trailing_whitespace option In-Reply-To: <2024061137-jawless-dipped-e789@gregkh> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <2024061137-jawless-dipped-e789@gregkh> Date: Thu, 13 Jun 2024 09:16:14 +0300 Message-ID: <877cetjrkh.fsf@intel.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 On Tue, 11 Jun 2024, Greg Kroah-Hartman wrote: > Some editors (like the vim variants), when seeing "trim_whitespace" > decide to do just that for all of the whitespace in the file you are > saving, even if it is not on a line that you have modified. This plays > havoc with diffs and is NOT something that should be intended. > > As the "only trim whitespace on modified files" is not part of the Do you mean s/files/lines/? BR, Jani. > editorconfig standard yet, just delete these lines from the > .editorconfig file so that we don't end up with diffs that are > automatically rejected by maintainers for containing things they > shouldn't. -- Jani Nikula, Intel