From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) (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 C8ECC3EC6B2 for ; Wed, 7 Oct 2026 18:30:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791397826; cv=none; b=Fi6tbN75ZiaKDsop1fVmuBMa+7njkHEuB+V7f5lPNqkbd3RSb/myhAoGF6cvZTrKoDJIMjicAvqbfGzp7vkO5wMdzu4J1D0VlPr1BO21V0ClK/l2W1jSLKekM3LpS+7Ujfmc0zVrwdgnTfs52lbeWEdvMZdfP4Z5MHvTz37ZMc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791397826; c=relaxed/simple; bh=fJDzMtgs8tL2g6t768KvYc3BiUzJ9Aeig8pEZ0nQhdQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=O0jq1q5MHV8gnUAvjKyVxF0EH++/KICaTLJPdBoFcbQZE1mB2jeiMEUlvDSVDv/ycvSoZswiR5T5K2J7HaIj/VdJDopbmktAdUyTqhA0Z8mP56d+b4PUdj1LAGcioc4ie80QmIKn/r9PFwylSVCZY0hzdWOWVcLK+H/aFUb1dGM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.client-ip=216.40.44.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf08.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 77E7312032A; Wed, 7 Oct 2026 18:30:23 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA id C5F9F20025; Wed, 7 Oct 2026 18:30:21 +0000 (UTC) Message-ID: <3e05a868415881335dec29a5d73f7994393f7409.camel@perches.com> Subject: Re: [PATCH v2] checkpatch: report warning with files ending with blank lines From: Joe Perches To: Christian Marangi Cc: Andy Whitcroft , linux-kernel@vger.kernel.org Date: Wed, 07 Oct 2026 11:30:20 -0700 In-Reply-To: <6ac6876f.31081df4.3ada42.ff1e@mx.google.com> References: <20261007122837.2995-1-ansuelsmth@gmail.com> <6ac678df.04a8e9ff.23fe56.b815@mx.google.com> <6ac6876f.31081df4.3ada42.ff1e@mx.google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-2.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Server: rspamout06 X-Stat-Signature: 89qh3nskdz4u87rbre4grdkpbmpg1kp5 X-Rspamd-Queue-Id: C5F9F20025 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1/iq9nHL9TLV3Ni73I7+6OQT9TvH/qK96s= X-HE-Tag: 1791397821-120884 X-HE-Meta: U2FsdGVkX1+8fiPZvGAr9TQK54efxwtYn4CA/5k5/ir7GPwgT69iMJZcvubUoFcVw04CUC9ZURdvdNGET/s1nfnmZzWyipjI1uu+nVB5qYV99sThdn8PbUrSdAJLeRirw30I1JEnTjp/nPjf4JzCUNkQPNLNj3j73k2JjxAA+26HJowiSyeptyAmP7E9iALrHKimPvFr45NQuCstafsFHD0TEGB6Y8zzApEF6v4X5ngcgFYyMQh29UhTy/QdZxIB/ufdgKw3mNzfxGlAEzR1eTd/Aoj5sHpF3393hvyvAI9f+iB0cMaIqxXEcljWktMumBtwGCMD96EyOhmX9gMVjVJEfKb8/HqcvceWN4Yvum/weMdCyRutoUaJZmxvOKSmakynMqAyY20da2q6SQdQEA== On Wed, 2026-10-07 at 19:54 +0200, Christian Marangi wrote: > Yes if you think about this, this will read the last line of the .patch, > not the last line of a new file that will be generated by the .patch. >=20 > diff --git a/MAINTAINERS b/MAINTAINERS > index 70a11f2ff61d..0b9946c532af 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -785,3 +785,9 @@ S: Maintained > F: Documentation/devicetree/bindings/spi/airoha,en7581-snand.yaml > F: drivers/spi/spi-airoha-snfi.c > =20 > +AIROHA USB PHY DRIVER > +M: Christian Marangi <[ansuelsmth@gmail.com](mailto:ansuelsmth@gmail.com= )> > +L: [linux-arm-kernel@lists.infradead.org](mailto:linux-arm-kernel@lists.= infradead.org) (moderated for non-subscribers) > +S: Maintained > +F: Documentation/devicetree/bindings/phy/airoha,an7581-usb-phy.yaml > + > --=20 > 2.55.0 >=20 > It's to catch situation like this. Example for entire new file or adding > stuff at the end of a file, where a new line is introduced. >=20 > git am will complain about this. It seems there's something odd about the patch content as there aren't any context lines after the addition. How was it generated ?