From patchwork Sat Jan 11 06:32:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13935801 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEB93E7719C for ; Sat, 11 Jan 2025 06:33:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 638596B0098; Sat, 11 Jan 2025 01:33:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5E7CD6B0099; Sat, 11 Jan 2025 01:33:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4D6E06B009B; Sat, 11 Jan 2025 01:33:01 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 3007F6B0098 for ; Sat, 11 Jan 2025 01:33:01 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id DD8DDA1117 for ; Sat, 11 Jan 2025 06:33:00 +0000 (UTC) X-FDA: 82994203320.27.B15F101 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf14.hostedemail.com (Postfix) with ESMTP id 6AFD1100009 for ; Sat, 11 Jan 2025 06:32:59 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=R2Zju5nI; spf=none (imf14.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736577179; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=KjWD/ddOkW3vLze0eRQQroFvRRFQHLwI9TiBFVJ2KrY=; b=s4ghgU4QdHeDTUK8lWEMJq/ohexRe9lwrjh1toFLZ+WMf2KGyXWI8kiGVNdukCnKJrLipC mCehRvRDoTFLVKUCUQRqQJ0iXwKhpZBqh5Nf205IaIAkStYGMtjpiSYl6CkNV0uaTxTSyg H/2Lfks/ZIdUPGN8uTYSR1um2sVqT/w= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=R2Zju5nI; spf=none (imf14.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736577179; a=rsa-sha256; cv=none; b=NOKNt5GFszjXXCcbh9uv1cvl7iVmIgoFZEnT9OnY0fNKtiusgI+Jl54jq3Xv0buY59er+f gdf0OtdTM7HdVJfANdx7rnAduLdE+IKBKcdd7uqwPN4KrjT1FpB/W02Zn+/p/n8b8mrnpj SQwo1iqiFwkO2Utzz+2hQSQZJarDqXk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=KjWD/ddOkW3vLze0eRQQroFvRRFQHLwI9TiBFVJ2KrY=; b=R2Zju5nIeMnI9df3oD2DB5I9O9 tVYNJjGH6ThWfueJTpxq5xaGgGmT+tQY0Q6bJdoecRPBDh4EE5b19ISoT6TSfy3m2Ov9MTtYcJpKf nfYMojCWB/tHGttU4HZ+rF5uHynYPOskV8rsti0ejZBR8xX/y5K6deRL/wNcdl2C9rT/mmIJYjzer nedlpRLyT/culKBU3hfIAh6ZdLFJ2uyz6htSulwvxZo5P0k/bfQDcY3njnu3uws6A0L4DJu4S6feU DyZi1R/Bg66SzSX9r/l4XuVYO7uOrOnR0YXIh11NDYLDQEhqNTwbcMGh1fX8r9A6wMnoEfoq/y1M/ ipTrOmjQ==; Received: from [50.53.2.24] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98 #2 (Red Hat Linux)) id 1tWV3J-00000000HzX-3EiV; Sat, 11 Jan 2025 06:32:57 +0000 From: Randy Dunlap To: linux-mm@kvack.org Cc: Randy Dunlap , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka Subject: [PATCH] mm/slab: fix kernel-doc func param names Date: Fri, 10 Jan 2025 22:32:57 -0800 Message-ID: <20250111063257.910991-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-Rspamd-Queue-Id: 6AFD1100009 X-Stat-Signature: u4escmxeo7kecjb6uoaaw9z5yby6a9xg X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1736577179-132406 X-HE-Meta: U2FsdGVkX18N3njKWB3wT6x9qsev6LLcZXQ5c5tNVJiiqtxwEuSsJ82kD8TykOpiihKAlnF65wg386NcpFw520jyYGKZNP9oB3Z4iXoqbTmUb5iXBVtXxJdNTb/7Bz0G/DN3aXcx38cYZAaXgiMkQNwxqguDqd4kzK1byMNb6kirfSJ3/QmLScGGKNR/b4SIuj/D/IbMXEvbg89zhmzroU9bM6n6eEOAXl0VrWRaz1v3gDXgeQZgvwHLfPjz0OD2eLbDpZp4p6Wj/vgGpWUKPtMbIfaU1ZTwfoP6ZXSa5o4yUPlb76Z1YNTSASi9QmwrosbtvKbN6kXVMJ7DRrk9Ju3Jm2CZjMqSm8E68YDn9XczlME1v/I9BUlMovw7YHgbYESNQvx9ft5vJB5hAmGOmmX0GIvp1y/gyliJ21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000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Use corrected function parameter names to eliminate kernel-doc warnings: slab.h:142: warning: Function parameter or struct member 's' not described in 'slab_folio' slab.h:142: warning: Excess function parameter 'slab' description in 'slab_folio' slab.h:168: warning: Function parameter or struct member 's' not described in 'slab_page' slab.h:168: warning: Excess function parameter 'slab' description in 'slab_page' Signed-off-by: Randy Dunlap Cc: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim Cc: Andrew Morton Cc: Vlastimil Babka --- mm/slab.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20250108.orig/mm/slab.h +++ linux-next-20250108/mm/slab.h @@ -128,7 +128,7 @@ static_assert(IS_ALIGNED(offsetof(struct /** * slab_folio - The folio allocated for a slab - * @slab: The slab. + * @s: The slab. * * Slabs are allocated as folios that contain the individual objects and are * using some fields in the first struct page of the folio - those fields are @@ -159,7 +159,7 @@ static_assert(IS_ALIGNED(offsetof(struct /** * slab_page - The first struct page allocated for a slab - * @slab: The slab. + * @s: The slab. * * A convenience wrapper for converting slab to the first struct page of the * underlying folio, to communicate with code not yet converted to folio or