Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp262393lqs; Thu, 13 Jun 2024 09:20:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXMm2Cnh2ZxfgWXiF50sf5YP0BLdmrVdqx4qUJUYbUEJKU5hFyReV6GoDpNHoBMucCEgcQvyOs1uo6MbcQ6ns6gXcFOn8/nlHQB0P6Ayw== X-Google-Smtp-Source: AGHT+IHsUP3bQre4c5HmNf8GkV61NRVNvy6Ni6PrPQbVWI99/9LS04x5/izBiSEC7hMFitepfuoT X-Received: by 2002:a05:620a:1a28:b0:795:598d:b99c with SMTP id af79cd13be357-797f61f70b0mr594048285a.64.1718295610536; Thu, 13 Jun 2024 09:20:10 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-798abd049a3si164472485a.384.2024.06.13.09.20.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 09:20:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@dxuuu.xyz header.s=fm3 header.b=DIIV2bJi; dkim=fail header.i=@messagingengine.com header.s=fm1 header.b=gPzk3gg7; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-213634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213634-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3F59E1C23E18 for ; Thu, 13 Jun 2024 16:20:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCD841494AB; Thu, 13 Jun 2024 16:19:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b="DIIV2bJi"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="gPzk3gg7" 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 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 -- 2.44.0