From patchwork Thu Jun 13 16:19:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Xu X-Patchwork-Id: 13697113 X-Patchwork-Delegate: bpf@iogearbox.net Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) (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 47C281448E6; Thu, 13 Jun 2024 16:19:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.151 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718295593; cv=none; b=cFq3QRyjL9aaW9ftLW8qmgg0+VeyJuJSAPPCPMHzEkNwhojCX7Uhj6USDW5NS7qqEk7JotOJC+xP/6RncPc+JpqXDQ/qxfD7Gy4sPpJEFHrwu6lAGWrfV6gI+wtCxyK9VGnRpaDXrGeEds6LVT0x9JmL4qk+Kst3uSmWu8e/PO8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718295593; c=relaxed/simple; bh=upXHV4oSRlEoQNOh73uNw2LAWv/ZoKJCVki8oZkxnq4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YZXxnsWs3XaPPE3XkZHCFgIP1YlnFzMuWR46HwcXmHltCcll/PJDXJJjDIDYGG/Qdqm0+Eq8gAeV4eU2lnVr/UK7sNin1Prb16zdEb/7TPtYCoIv2J0HboT3J0ZcqCPoSG/jETAi5kCFTsH7+MjPVL/DnrrCZXL/9eZPyh+Iya8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dxuuu.xyz; spf=pass smtp.mailfrom=dxuuu.xyz; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b=DIIV2bJi; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=gPzk3gg7; arc=none smtp.client-ip=103.168.172.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dxuuu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dxuuu.xyz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b="DIIV2bJi"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="gPzk3gg7" Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.nyi.internal (Postfix) with ESMTP id 6E47113800D9; Thu, 13 Jun 2024 12:19:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 13 Jun 2024 12:19:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1718295590; x= 1718381990; bh=dev3LyBB1QLwwxaaVCINRbSVtifMTpHyZ9F3Ei0utb0=; b=D IIV2bJitxaqPwH6xuUz4N5LcPUvuj8NqCKNs4ADz78kGkdeNEAYy2Nq3AsP3yGI0 LaVjPT1ayctsWf+Vmpo9tb3ysG8TrcXIcl4GfJC2vJ0BCAdgqDC1jnpjkmZ6x+cv mHTWEqczgoQ9gldT6z+HUkYbsnqEpNXk8DG1RHs5AHOQywxIuYHcwb6qw3Zp00FJ 9jdZR7vy4e0OVPsibY8upUcmB8TKYyHZCBUlxgmkvcmnwhJgFlX+CSglTmhlm/LK vfRY74q05/+hqYZg4FIpu1uf43NYFZMO7UdhDTXlY5PQKBYRROkG9ytUBa/0Z4Vr fKAUD1zUeqjeA7GsBMBIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718295590; x= 1718381990; bh=dev3LyBB1QLwwxaaVCINRbSVtifMTpHyZ9F3Ei0utb0=; b=g Pzk3gg7SHlNUkiookjqzQ/FhT3wETd5+tBjhnITvSWJOTRg7slZQ/0vXYQpd9jry Ut2+l3amJruEGC96GeJXRIwzt8owdUwkOMWtMIznxtmKOQQvl0HncnYu9eTsy2e0 pJkXFjt10POk4hrb+7DYJIHnFM19BbSxUPLi/w5phQhaI6drNa0YE6DITPLaWd1C 3Ig00yPPaaRHiSUUBqxCOyeyqF/jFYA0Jgk9xgn9Z34tDGNHOY8iz6Hz5NRryZu1 gAnWV/rXqrrmPEybTlTQLCisPdsWhbJ0T/dXE+iXcLQBkhorSLSMp6ykmZrWbRVs gIAGRzT2Sd00wxVOqqdxw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedujedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpefhvf evufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeffrghnihgvlhcuighuuceo ugiguhesugiguhhuuhdrgiihiieqnecuggftrfgrthhtvghrnhepgfefgfegjefhudeike dvueetffelieefuedvhfehjeeljeejkefgffeghfdttdetnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 12:19:49 -0400 (EDT) From: Daniel Xu To: daniel@iogearbox.net, andrii@kernel.org, dxu@dxuuu.xyz, ast@kernel.org Cc: martin.lau@linux.dev, eddyz87@gmail.com, song@kernel.org, yonghong.song@linux.dev, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.aukernel-team@meta.com Subject: [PATCH bpf-next 1/2] bpf: Fix bpf_dynptr documentation comments Date: Thu, 13 Jun 2024 10:19:25 -0600 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: bpf@iogearbox.net The function argument names were changed but the doc comment was not. Fix htmldocs build warning by updating doc comments. Fixes: cce4c40b9606 ("bpf: treewide: Align kfunc signatures to prog point-of-view") Signed-off-by: Daniel Xu --- kernel/bpf/helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/bpf/helpers.c b/kernel/bpf/helpers.c index 3ac521c48bba..229396172026 100644 --- a/kernel/bpf/helpers.c +++ b/kernel/bpf/helpers.c @@ -2433,7 +2433,7 @@ __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) /** * bpf_dynptr_slice() - Obtain a read-only pointer to the dynptr data. - * @ptr: The dynptr whose data slice to retrieve + * @p: The dynptr whose data slice to retrieve * @offset: Offset into the dynptr * @buffer__opt: User-provided buffer to copy contents into. May be NULL * @buffer__szk: Size (in bytes) of the buffer if present. This is the @@ -2504,7 +2504,7 @@ __bpf_kfunc void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, /** * bpf_dynptr_slice_rdwr() - Obtain a writable pointer to the dynptr data. - * @ptr: The dynptr whose data slice to retrieve + * @p: The dynptr whose data slice to retrieve * @offset: Offset into the dynptr * @buffer__opt: User-provided buffer to copy contents into. May be NULL * @buffer__szk: Size (in bytes) of the buffer if present. This is the