From nobody Sat Jul 25 03:46:49 2026 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1ABC13AEF3E for ; Sun, 19 Jul 2026 17:54:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784483705; cv=none; b=T7FqJd36wC36Dm98H7xcfq2YSm0BTGdcFNyesdEFu0rnI+bawluYZndkwJhzBTwK52F35HbEsGjis0JWvn/EBfg/oZogQ5cBRhWHAXtBBp2rK/FOQZg6cO7hdBC3zZGYTulszgJIYzsoF6gZKXpmu0RA6/I120IQtncLqQCyTig= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784483705; c=relaxed/simple; bh=Uwwd/EL6lj05kCwhEvGcqE/g/ZeBPIMKSRx5BHMKYho=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E/uXdd4oMWd4rQI3DCjmgXsDCQ8vjQ2zHMeGyJiCmIrWEFDjBycIYMiS/rKKD1bF+mQc6uyO/D1zz2bEDTgmfMy1ri35P2v5VLAKmnW3bxsEzCW2xy9q0QNo5C1WF6FTwwwwYzupqF4zeEHY25cEhX5LYzM1TyhIAcLof/99Hf8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=qDjOq4I3; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="qDjOq4I3" 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=hgbk5Bw79f6SZCtMG/f/8DNXR2vOUa0zyW3IGJyKjuA=; b=qDjOq4I3TiKlyQGfuMenvyH2eL TSqG4wMZDuU4posiPtL1BJPyHYbQCeAzzsGijNJes/DVlPojIbuUyBzY0kRY8k4nJZ11gu5gZPdgl OLkWCy1HbEpyy/dw05MOjDMCpG+WEFiglUJHKOP7LR4IdjPKxL3WMiclOmhqqUDLU1idUMSI5RBMf kOBDJHK2CaEzaBzJvK3g9iCZ98imnaRz/xJUxoGY2E4ZBYu0NX+yPb4tbWMQoTVcI0sZi7Tz5hvIc RftTYivVpx/PVz4wOmwwt/oVK8pHV3TKFGUWh1hjewpU3WFRVZa/dkAyKqpMSpWowH3Ot3OVKN7D+ XSyy6t+w==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wlVj1-00000005Emw-1iPc; Sun, 19 Jul 2026 17:54:51 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Subject: [PATCH] x86/barrier: use correct parameter names in kernel-doc Date: Sun, 19 Jul 2026 10:54:49 -0700 Message-ID: <20260719175449.2635442-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.55.0 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 Content-Type: text/plain; charset="utf-8" Use the correct macro parameter names in the kernel-doc comments to avoid kernel-doc warnings: Warning: arch/x86/include/asm/barrier.h:35 function parameter 'idx' not described in 'array_index_mask_nospec' Warning: arch/x86/include/asm/barrier.h:35 function parameter 'sz' not described in 'array_index_mask_nospec' Warning: arch/x86/include/asm/barrier.h:35 Excess function parameter 'index' description in 'array_index_mask_nospec' Warning: arch/x86/include/asm/barrier.h:35 Excess function parameter 'size' description in 'array_index_mask_nospec' Signed-off-by: Randy Dunlap --- Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org Cc: "H. Peter Anvin" arch/x86/include/asm/barrier.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-next-20260717.orig/arch/x86/include/asm/barrier.h +++ linux-next-20260717/arch/x86/include/asm/barrier.h @@ -27,11 +27,11 @@ /** * array_index_mask_nospec() - generate a mask that is ~0UL when the * bounds check succeeds and 0 otherwise - * @index: array element index - * @size: number of elements in array + * @idx: array element index + * @sz: number of elements in array * * Returns: - * 0 - (index < size) + * 0 - (@idx < @sz) */ #define array_index_mask_nospec(idx,sz) ({ \ typeof((idx)+(sz)) __idx =3D (idx); \