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=1795930996; b=XERAeJrXcwU+OrypF+80nrZSH3plj6PEz9KE+H43e/VCJaqA3ybx8rvYEW03aXeVqi7m WOjL1jAMs/NdMDMKxNpvkZ6sFUBnaXXaMddJsQ/ODacDyKvTj1uP46Ow0gDuIBC3JQ3lT YnEekilzVJUrmK2sPfNRrqOfpLSsMA8EvBddZ6vtWdI4wJ05KDq3UwJ+IS9QlzDLKD7Fv pgv85kHo6Ix6DpJps8J5Y1jm9vkfg6U4RDg/TPCEkhc3TdWFPwIu4UUqnNcJyVHLLkG01 Ppfkww7/hIa0ORDZUgRLzFOTqHQbaEredndemGw6TLhPGoHY4r0AUGucsSt/yTp621A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795930996; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=nBXrIJMh8FJXNqSsiT8pOYr4VSe7nZsb3Z9CIGpZjKo=; b=2ZeJxqbMezD+mlZZ9YgVTKPVJb2xE7Q9JdwUHbH6Khm5mvG8VmxVJI+pIkkvz00gJTAN stIj8PIN2RWhOwOLLmSx9UMATvb8jg1XR/ae5Lguo50Vd+JBOqaXStUliw17hPsnzXJa3 tdSRhkEojrC01aIB8LIWGOTXSeQDEMbaEYOsENR67/+x7sd33BDQItB9HxrHQ77XTiHvk 2ZTzT6OcOGHBmVgDe3xBfmoCiZzd4yToBz8j5DJioiyxJpPKfMR6OovQRPxVhdut9wD00 0AOlbg/I3zcj2L2RgEGz+kku4tklWYS6YEMmQhAajr56DdsuTEOPtsYFisKAutZFGFw== 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=KsUJz94p; 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 21640606A31C for ; Sun, 29 Nov 2026 05:43:16 +0000 (UTC) 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=KsUJz94p Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD8B21F00896; Sun, 29 Nov 2026 05:43:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795930996; bh=nBXrIJMh8FJXNqSsiT8pOYr4VSe7nZsb3Z9CIGpZjKo=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=KsUJz94pBmmnEu+dhy8jmqpVfMxd+P4eAjw8zdhMWH5EWNcvGFfJ0kpMnniZFxao6 +mnDvsS5RxqJSjS1+BSQJnnzBx7GgTBAhhlGVTc6x16REleXRnOnamihkxIlWtIy71 3N24jcMNylfAkDXbA0DuYxYXJatLSef1ivpmrNaShd7QyRQofWDLp6thysr3idQr01 otL1Fh+bxMhGMf8WjOqt9nAWwmmtgbYmAfw7KGGiV9weD6OcF6diIr4kumVh/42nqI ZHX4iK9AvPKRzec7xmRv1KRTWHjP9tZ+MHrC0mfa7U5bOaPSHLbMBy3mpr0lB6F05H df6uPmdU9UTPw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 3/3] bpf: Describe cgroup_iter's fdinfo path for paths which don't fit Reply-To: sashiko-reviews@lists.linux.dev To: "Chris Down" Cc: bpf@vger.kernel.org, tj@kernel.org, hannes@cmpxchg.org, mkoutny@suse.com In-Reply-To: <6058cc3be190392debbc8402ea8479528eb75599.1795930577.git.chris@chrisdown.name> References: <6058cc3be190392debbc8402ea8479528eb75599.1795930577.git.chris@chrisdown.name> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 05:43:15 +0000 X-Mailing-List: bpf@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] bpf: non-standard multi-line comment style in bpf_iter_cgroup_show_fdinfo() -- commit 36f9b2156386e8af200bc23bda741347d961437e Author: Chris Down bpf: Describe cgroup_iter's fdinfo path for paths which don't fit This commit updates a comment in bpf_iter_cgroup_show_fdinfo() to clarify that cgroup_path_ns() leaves the trailing suffix of a path in buf when the full path exceeds PATH_MAX. > diff --git a/kernel/bpf/cgroup_iter.c b/kernel/bpf/cgroup_iter.c > index fd51fe3d92cca..12e702e421aa2 100644 > --- a/kernel/bpf/cgroup_iter.c > +++ b/kernel/bpf/cgroup_iter.c > @@ -251,7 +251,8 @@ static void bpf_iter_cgroup_show_fdinfo(const struct = bpf_iter_aux_info *aux, > } > =20 > /* If cgroup_path_ns() fails, buf will be an empty string, cgroup_path > - * will print nothing. > + * will print nothing. The exception is a path which doesn't fit, where > + * buf holds as much of the end of the path as fits. > * > * Path is in the calling process's cgroup namespace. > */ [Severity: Low] This isn't a bug, but BPF coding style requires the opening /* of a multi-line comment to sit on its own line, with the comment text starting on the next line. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1795930577.gi= t.chris@chrisdown.name?part=3D3