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=1796325490; b=pB5WqaCrNBNo3kk90sOs8f6RTL0IzxnmYwtRrIa+toiJjHpPRYsGfXV45Z3ndXoQaupO DtbxIEtdbq6Mj7x4gtfErDphTLzzQeRXX8xL8eIBsV4HkbSi78uIPQZJ7AGZDsUrlCuHB /mRwQx5nAcxblJQ46SMY4XHA8aBJPPwXo8uXtJ8QVZ8Lj1Aa5b84ibYfmCzVL/IMbWkAB Ce4pdvE0kIuxYaB+DYW1EgItqM3b7Bd7C5keJlfdq2KtYjv78nkNC3JIy3kNcJi3VXrZY R9qt4YoXRCYFPNeznv4Btq5rm4vUnDdbA0SyM0bZxflqezI9VFnOf3G4WYQMPQKTSaA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796325490; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=rp18z10qwz5FTgwTRCpHzfz7sZs9g4Ovr737LXlH8Gs=; b=btMInBfF701jmQI9ASC0kHe923/REiGJdKdp7uAv0Xw70uXkMS2D447jYUJUG6D0ILfH iwRfOKhzUP6FTDh0EFgkSFStkxPmN2dDzAtVAtj23oKLKEbC/oHt2pqLdX2Tp6Pc1k9lY i4Mlao4Ug/OPf+oKPC5fSdpd6ql9P95jEeL0NO+sQH++F5MjSFq6Nid9AT0r30vbFqKwP m2HJn1CvZSam9TU5VULs+PBX30fz1X58Yz6EGuxnwcoJy7ZIvPJHXyHDcRoqy88l4MRyL GoAloR7IOuKnrqr1gn5TBYjP5xrYd+E8pmvKUh3Rpb+8fcrEjJ7tqFuCjP0IAkQQMOA== 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=UbRKSYbZ; 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 18FFA606A32F for ; Thu, 3 Dec 2026 19:18:10 +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=UbRKSYbZ Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBFBF1F00931; Thu, 3 Dec 2026 19:18:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796325490; bh=rp18z10qwz5FTgwTRCpHzfz7sZs9g4Ovr737LXlH8Gs=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=UbRKSYbZRDvTp4BD/nTqbVDI21WfxAZSzKmc+whIT8Un99MS1ml+y/7YQUmKLDmwX KHtB65LJzQeuV0fhSAbVtQ9btxnSYkxPnInShZ2l8kgyldJVunn8nKn9YC3WXcfnNG lDZ6AGNo64HBrTq0l2k1dYF/DUYuQzvduk0gNnpyQGgORfL30wFy17oxks9H96GLid l0px1Lac60DCJSkZehv3oTDMid6h+CDMFCeyXDdLMdMEwaL/c2zNmJ8N2zRlq9VmmT Yf1H00OZl1lV2xyUnATt/ug8y7kEP+9OBs48JAFoi35ZhhR0u4/eCA1DEgFHt5saGA fOzrvUeCxyd5A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v10 04/19] tracing/remotes: Initialise pos in trace_start() Reply-To: sashiko-reviews@lists.linux.dev To: "Vincent Donnefort" , linux-trace-kernel@vger.kernel.org In-Reply-To: <20261203190007.2431041-5-vdonnefort@google.com> References: <20261203190007.2431041-1-vdonnefort@google.com> <20261203190007.2431041-5-vdonnefort@google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 19:18:09 +0000 X-Mailing-List: linux-trace-kernel@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] tracing/remotes: missing Fixes trailer for commit 330b0cceb306 -- commit ede635e2c0b35dc11a997c88c0a65317166e1848 Author: Vincent Donnefort > tracing/remotes: Initialise pos in trace_start() > > When *pos is 0, trace_start() passes a dummy local variable i to > trace_next() to fetch the first entry without modifying *pos. In that > branch, i was left uninitialized. > > While i is discarded and causes no functional issues, initialise i and > keep static analysers happy. > > Signed-off-by: Vincent Donnefort [Severity: Low] This fixes passing an uninitialized local variable to trace_next(), which increments *pos. Should this include: Fixes: 330b0cceb306 ("tracing: Add non-consuming read to trace remotes") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203190007.2431= 041-1-vdonnefort@google.com?part=3D4