Message ID | 20240104013301.14458-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-16183-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5363279dyb; Wed, 3 Jan 2024 17:33:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLdoxFZB9GD/nMopTuGsMxAO2YBsrFOE3B2V9W6fUwqcNz2pjC7BRDOSDrzHQEe6+e4XZX X-Received: by 2002:a05:620a:f0b:b0:781:bac:8ca1 with SMTP id v11-20020a05620a0f0b00b007810bac8ca1mr3332676qkl.46.1704332018907; Wed, 03 Jan 2024 17:33:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704332018; cv=none; d=google.com; s=arc-20160816; b=xiA0K8pn2QQEs07AZ1HhRpyi/RbngTuGBm9IryYkNm5fXsLW0+zFBYC6r2vOjTW5AU qZl8RwmuW1J5aZ+4XS4hj0ebdBVcrdbQYTB6j5x0qRS/2TjbG+VG4zvyJhMEIsIYV/g2 eUsD0ZXaMG/QByDlrDdIiMCesj1Cr8IDvcxfwpo/soB7Vxo2aL2FPt6UxQcA34XRNgBr c2jcRI9WwtlSOc4EFq6069PaoyUpi08yxDpNI902mtOAq5DmcBkINIilILYD4IK0U8OO eKboHuFcXQFHc9Y//GjE3UQRUT7ilTOCHz+PUZ/sqV38N2SAsp0Um2CF1HyAvrdODmoJ xrRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=PgI2mYoVs1GnN78ppMjwck2xWkBQIPMMPhE0a8pJ7wA=; fh=iCEb1xwemUWF3kM6sof22TGnlthFlIhEGhXzWwGnkdw=; b=ju0/k6cqRQfJHdvtQ7G+QGoVrgIWS5QY2m+7lswYdMNaxIUklTPyyw+OkVGgc7vDj2 kYfe7oKms/j0nkakpMU0+aHMCIfL6Ga4F0358PzePhZ51BlDHuAlOb6xlsGjItRQ5TVx iM9aJwiS+o3XpZISAhkrprjiUPU1Upn1SKBokgB+Qnxpm6LG4pKJf+I5bSIYc0C0YrP9 hqPLFoQQTj6B2UZG5wZGVd6VQMSmABZUFWQS47efGOUKSEHqS3Qeh5TjWxT8RiOf/55N 0nzgpvl0fsTR0sSD8s9WiLmDm/k3N7GwFvNSHRn+mAzLlYt/Pxgz73oukLoyKJDZFUOw cP9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=koU84Q3Y; spf=pass (google.com: domain of linux-kernel+bounces-16183-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16183-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v22-20020a05620a0a9600b00781d515d928si5352128qkg.321.2024.01.03.17.33.38 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 17:33:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16183-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=koU84Q3Y; spf=pass (google.com: domain of linux-kernel+bounces-16183-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16183-ouuuleilei=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 ADDD91C2416F for <ouuuleilei@gmail.com>; Thu, 4 Jan 2024 01:33:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9FA0EAEB; Thu, 4 Jan 2024 01:33:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="koU84Q3Y" X-Original-To: linux-kernel@vger.kernel.org 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 <linux-kernel@vger.kernel.org>; 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 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 <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, Jonathan Corbet <corbet@lwn.net> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787121651232745316 X-GMAIL-MSGID: 1787121651232745316 |
Series |
x86/apic: don't use kernel-doc for IDTENTRY functions
|
|
Commit Message
Randy Dunlap
Jan. 4, 2024, 1:33 a.m. UTC
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 <rdunlap@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: x86@kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
---
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); } -/** +/* * spurious_interrupt - Catch all for interrupts raised on unused vectors * @regs: Pointer to pt_regs on stack * @vector: The vector number