From nobody Tue Nov 26 11:28:15 2024 Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (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 00C85168C3F for ; Fri, 18 Oct 2024 10:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729247287; cv=none; b=JYYuDmsyke52DjmVdshvzm1DerOtC8jiV2dndjEwTx5pMeaclg+yTdOxA4j9Pkc4rynLW1CG9GMndu4w5XPF+oDkA6PV7z62GEEUHyQhtqsib8F2EzdqMeH8FcQDlnilVh+2ezvrIh3D2vb58+OEdI+je+wGDOM0/N4Fx4ZGNUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729247287; c=relaxed/simple; bh=x2GDt2t8xGxiZF0J3X6YiqT5UKSyMxpJP/dyTFIT94M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j1PD6QYJCxeVXb83fTZ1tuaZF4E3+1O2i4sRyvE0fS9GIWkaoT+FggVaX/zL2wifKeoIAKkqJC28Bql/ARkvu3p5PPLM1/Zt0pfmb/LHfSQFIocrC3EkBA3YRDYOU+fUbHxRpDWYxNM2NRQVhk5yiIwGSy2yR/06lEoi58O+jQM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=bX7xhte0; arc=none smtp.client-ip=95.215.58.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="bX7xhte0" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1729247282; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5KHT3ff6M8Nx/a1xS5GHR/zH/l+13M2qwmmTdtYZIM8=; b=bX7xhte0tWU2pjujPDcrlqJj4dfUrqU8DdZbf0cNur1y9XJ5SAYEsYWV1JhK0tU5r8RWZl p66PrsPNTQJmzjBEpo0hAtOfl3+d4vfYoy+HCPfFRn2AruJ1Y9Vo83NoLpf0/aKuwHXIIc HNoG+GXe2Cg6izwSP1DSbz7ATxSFO5g= From: Thorsten Blum To: Christian Brauner , Josef Bacik , "Tyler Hicks (Microsoft)" , Al Viro , Yan Zhen Cc: Thorsten Blum , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH] proc: Fix W=1 build kernel-doc warning Date: Fri, 18 Oct 2024 12:27:03 +0200 Message-ID: <20241018102705.92237-2-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Building the kernel with W=3D1 generates the following warning: fs/proc/fd.c:81: warning: This comment starts with '/**', but isn't a kernel-doc comment. Use a normal comment for the helper function proc_fdinfo_permission(). Signed-off-by: Thorsten Blum --- fs/proc/fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/fd.c b/fs/proc/fd.c index 1f54a54bfb91..5e391cbca7a3 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c @@ -77,7 +77,7 @@ static int seq_fdinfo_open(struct inode *inode, struct fi= le *file) return single_open(file, seq_show, inode); } =20 -/** +/* * Shared /proc/pid/fdinfo and /proc/pid/fdinfo/fd permission helper to en= sure * that the current task has PTRACE_MODE_READ in addition to the normal * POSIX-like checks. --=20 2.47.0