From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=172.105.4.254 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793906965; b=a918bZdKMSH2aXIDq/mIU/QN04yFaxuwCZuZlHvoZUkJVuRaqtgYFqiE5kNlpa33hmqL 2tztPfd9tnx/IYsmjm7YsYz+Ihuqm5ObCGjjDNQ8hdAWuqOyMEhSNN4Mol/2/hRmPDctF bckajQNYJMIC5VACILgOPRtfZ9dzVpApvGoFeiOG+WpW+dGoptG884E3cD2XYZ+J/fL9J H6LV68l7KS+b6lq3BmQqijIbknFKHc6gp4n1zScJ/UOF3evu9hJ09cK1vyne4C9oxmew6 4OLxwpIP5kb5oMHJ6ua8cONCblnrSgLmOciodt8mTzseWDzGUGHM8kN0+7KewlIYDcg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793906965; h=DMARC-Filter:Received:Received:DKIM-Signature:Message-ID:From: Subject:Reply-To:To:Cc:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:Date; bh=l5G/lSqezWnwCKCStpatk32BvJD6IXrDlHThvqht2Tc=; b=YPkqBVuFKBxCaXp+b+zfjuj+cH4F7hADrakGc+oPKyURHpaClkDGIFEe0y/4JdEyh0vH ASw8vg9PBv9y+TlNDbkmjlChhwf9/3kekA0LI8Ndr+jaIh2xMn1kAtK/lFFIG7xfBjaSt ZaxbDbn71hZF0uoOZ5fPrBUg2fVL4tDOJM+1X3u86OdKIUjBwW/rW3MA5kkiXylm8H4Kg HSmdHylCvv6XztMcUB3FaOd1QGqjulW8bMlJC1P8YN/rMO7VocHZCwt/tECWQyFSbMrm6 rEEGEa3lJJnPCCX7pV9VG4+N04q5P49O+XyQCi6HFS4j1wy6fvhZM+hzxCkpCcfue7g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=kernel.org; spf=pass smtp.mailfrom=kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VVy9ydzD; arc=none smtp.remote-ip=172.105.4.254 Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18392606A326 for ; Thu, 5 Nov 2026 19:29:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 18392606A326 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VVy9ydzD Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 8C033601C4; Thu, 5 Nov 2026 19:29:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD8691F00A02; Thu, 5 Nov 2026 19:29:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793906964; bh=l5G/lSqezWnwCKCStpatk32BvJD6IXrDlHThvqht2Tc=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=VVy9ydzDdwrK5cUkSQY+dtAoabFVfA9e0V3qgpjVjrIB5KvMO1MvQGDUHk5rAvgfm iSf6w+1kKcvdBAFR8ELGlwwFEK1XZJXOrXKCPvRouxy2Jazs+nmQAJSesB401a9CCa vxio34XgVPMayf8Fmf2wRqb4Hs5BmvdwkdXQYrWsL8VIX0WNnzZbN65SIXxRDOYRkF eSdSep7Up4ys5dzeLjGW5O3+D7EGEYwGaI66O+jjQoRyelrpDYdY1cW3+4VkosJ21x VBLkNWVbLXjLlwjMd0uLQ3706fcKWPjDKmaSPAZcoVtTTzHDmgl+ieo3UPtj39/IgW 0E/kdo3j/YNww== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH RESEND v2 17/51] s390/dasd: don't look in front of the buffer on an empty write Reply-To: sashiko-reviews@lists.linux.dev To: "Christian Brauner" Cc: "Linus Torvalds" , "Jann Horn" , "Josef Bacik" , "Chris Mason" , "Jeff Layton" , NeilBrown , "Eric Dumazet" , "Thomas Gleixner" , "Al Viro" , "Jonathan Corbet" , "Christoph Hellwig" , "Greg Kroah-Hartman" , "Joel Granados" , "Kees Cook" , "Jan Kara" , "Jan Kara" , linux-s390@vger.kernel.org, coreteam@netfilter.org, kexec@lists.infradead.org, linux-pci@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-usb@vger.kernel.org, samba-technical@lists.samba.org, linux-m68k@lists.linux-m68k.org, linux-serial@vger.kernel.org, "Takashi Iwai" , linux-ext4@vger.kernel.org, "Chuck Lever" , tytso@mit.edu, "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" In-Reply-To: <20261104-work-procfs-bugfixes-v2-17-021c84d852e0@kernel.org> References: <20261104-work-procfs-bugfixes-v2-0-021c84d852e0@kernel.org> <20261104-work-procfs-bugfixes-v2-17-021c84d852e0@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 05 Nov 2026 19:29:22 +0000 X-Mailing-List: linux-m68k@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > dasd_get_user_string() strips a trailing newline by looking at the last > byte that was written. For an empty write that's the byte in front of > the buffer it just allocated. Only look if something was written. >=20 > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > Cc: stable@vger.kernel.org > Signed-off-by: Christian Brauner (Amutable) Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261104-work-procf= s-bugfixes-v2-0-021c84d852e0@kernel.org?part=3D17