From nobody Fri Dec 26 15:23:12 2025 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 EA14A5231 for ; Thu, 4 Jan 2024 01:33:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none 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="koU84Q3Y" 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=PgI2mYoVs1GnN78ppMjwck2xWkBQIPMMPhE0a8pJ7wA=; b=koU84Q3YIvUJcpw/rxnhcCMBK4 WXKI/NLF30JQ/CHc09fVpQDVmmIBYZIuOG0dVdrIjaCRJJV48ZSMzr1n6fTDcQn3K1ei7Fn23anFa R11I2a260BCXWRvZ2MZI1e/7ny8mlvhWBjI4ppWa0QnIWb+g0/0GF1nGUwAebWy/CVmj8DjnjhykT MYwVUv0w9F2iU5APR5fmq4avQM8/IClElkpYjSNfNyAVg/6MIavsqjpKYLbTkdgbbHU4pgPkQRGlq UFjrc6zLHvegIZLgPZF7v1j+65oYbGlQR86NHcf9aUHGBQpVRj7ljKSuhYT5diGZXCA6Y42Us/kGb 0Cb3E7pA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rLCbW-00CaCB-1H; Thu, 04 Jan 2024 01:33:02 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Jonathan Corbet Subject: [PATCH] x86/apic: don't use kernel-doc for IDTENTRY functions Date: Wed, 3 Jan 2024 17:33:01 -0800 Message-ID: <20240104013301.14458-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.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" scripts/kernel-doc doesn't handle DEFINE_IDTENTRY*() variants so it prints a warning when processing them. In order to reduce/remove kernel-doc warnings from the kernel, don't use kernel-doc notation for DEFINE_IDTENTRY*() function comments. This brings the apic.c usage in line with the more than 50 other uses of DEFINE_IDTENTRY*() in the kernel. This prevents one warning: arch/x86/kernel/apic/apic.c:2170: warning: expecting prototype for spurious= _interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead Signed-off-by: Randy Dunlap Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org Cc: Jonathan Corbet --- arch/x86/kernel/apic/apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c @@ -2157,7 +2157,7 @@ out: trace_spurious_apic_exit(vector); } =20 -/** +/* * spurious_interrupt - Catch all for interrupts raised on unused vectors * @regs: Pointer to pt_regs on stack * @vector: The vector number