From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796450224; b=MXk1NYo1Kfuv92jfG2WOnwc0CdfyDbCyy6m5onwYboYhvlMmWYZZF0LIzlQdUd4M4dfZ RVhXgRVeTuSqMrQTbRsh4xhi693O+I5/AMaIQDWaXc4ja/C79pKj0wL3dfT0xg2MnnG4X wf3Jt3ww2/ZJ+TtCLvsSSFpPcXFdmoayVWbzZI5bryrXnLGLKYtG0LV+QOn4oNjva8Au0 X6jKnHpbwqPVnlOfqouh/m91WDBCcrr5oH0shdenOvExkFvhhhve2tbnWP94eMGeCzgVc xRipFTHCyfF89qawLlYJNnkbznC83EV4ttKU8l/M3Gu5WM+DYi5WyqNomHw0gfDqu2Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796450224; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=3jM8vGR9CbHy3Y0VvZ6Sz5pSWP/xELPH3+e2+MjgZE0=; b=V3hE6k2qhDAYSgz+CFTwp9+l+rDFibmK0L2BkD2wPq0+5qqjzi/AiTKodmdWvDVnQB3H B+hAaPFiR2UYauxPVPzaddtVF9dSfBYfrggAnPllbb6Rq5r2x2Mh+uXuyBxlC7GX3qdW/ ur939ykmO/WUQbO89aj6pkI50BroOdXxoManm0rzZVGv7warpnRY3UAeG5LtncNaJzln8 6bCI1EPhReZ91CwVlvzVWqM1xXAdPcU6G9xMZECVcCB6iCKbO3zYUVaDWBX4qMxjQdZ2j KPME0hHPAbCSYCUUv51pn9iMz7PTq8eWrn5/ipZtQOk/AWa5uxl2bhzi/i1LcCS9+Gg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bDTw4IMW; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (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 ECF65606A32D; Sat, 5 Dec 2026 05:57:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bDTw4IMW Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60A6D1F00936; Sat, 5 Dec 2026 05:57:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796450223; bh=3jM8vGR9CbHy3Y0VvZ6Sz5pSWP/xELPH3+e2+MjgZE0=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=bDTw4IMWHZQJsaOJr+g3Bq8Gt7UIPPZCR3A3meEFhPDk3eQs6P/L8l1kcuNiNXPMb rTCoP/M4Nm5TrHrNd/tXdzon8v/hU4WtKBXQ9vX4HZc0TpotsDCcbLEMrApP8nLyPT rn33UqjVBHvPJ5qe+SPisFD4ayvylY39JwTPNQ1fxTBbaunno3YOgXM5so6s8XwR+V iNpFLOA3rP2JsiJhcwlwfBQ8kVKkMB3DW/8hshVIx3rzCYChqevc0lw/jS0br5zAFh bCSlaXRqaL/oPl0SptHrfJa1TfNH93aYfM3h6sckyXX/Y9+X0WdWIJSuDi9ZrlhSkQ +28vRhiG0dzAw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH net v2] net/smc: unmap the sg table when a DMA map coalesces entries Reply-To: sashiko-reviews@lists.linux.dev To: "Mahanta Jambigi" Cc: linux-s390@vger.kernel.org, linux-rdma@vger.kernel.org, "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" In-Reply-To: <20261204055639.228261-1-mjambigi@linux.ibm.com> References: <20261204055639.228261-1-mjambigi@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 05:57:03 +0000 X-Mailing-List: linux-s390@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] net/smc: commit message omits bug discovery and testing details -- commit e876f4b330ad7475d8d95779692e0fd3a6bae786 Author: Mahanta Jambigi > net/smc: unmap the sg table when a DMA map coalesces entries > > When a device coalesces the entries of a virtually contiguous buffer, > ib_dma_map_sg() maps fewer entries than requested. smcr_buf_map_link() > fails the link with -EAGAIN but only frees the sg table, leaving the DMA > mapping behind. > > Unmap the partial mapping in smc_ib_buf_map_sg() and return 0 or an > error, so the caller only has to free the table on failure. > > Fixes: b8d199451c99 ("net/smc: Allow virtually contiguous sndbufs or RMBs= for SMC-R") > Signed-off-by: Mahanta Jambigi [Severity: Low] As reported by netdev-bot+sinfo@kernel.org on v1 [1], the commit message still omits how this issue was discovered, whether it was reproduced or is theoretical, and how the fix was tested. Documentation/process/maintainer-netdev.rst requires bug-fix commit messages to include these details. [1] https://lore.kernel.org/r/179630242773.3305.6082997498566795063@kernel.= org --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204055639.2282= 61-1-mjambigi@linux.ibm.com?part=3D1