lkml.org 
[lkml]   [2023]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: x86/urgent] x86/irq/i8259: Fix kernel-doc annotation warning
The following commit has been merged into the x86/urgent branch of tip:

Commit-ID: d87e89c2735772fbed933be0d19e032c1910a51f
Gitweb: https://git.kernel.org/tip/d87e89c2735772fbed933be0d19e032c1910a51f
Author: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
AuthorDate: Wed, 30 Aug 2023 15:12:09 +02:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Thu, 31 Aug 2023 20:43:30 +02:00

x86/irq/i8259: Fix kernel-doc annotation warning

Fix this warning:

arch/x86/kernel/i8259.c:235: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* ELCR registers (0x4d0, 0x4d1) control edge/level of IRQ
CC arch/x86/kernel/irqinit.o

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230830131211.88226-1-vincenzopalazzodev@gmail.com
---
arch/x86/kernel/i8259.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c
index 4d8aff0..30a5520 100644
--- a/arch/x86/kernel/i8259.c
+++ b/arch/x86/kernel/i8259.c
@@ -231,9 +231,7 @@ struct irq_chip i8259A_chip = {
};

static char irq_trigger[2];
-/**
- * ELCR registers (0x4d0, 0x4d1) control edge/level of IRQ
- */
+/* ELCR registers (0x4d0, 0x4d1) control edge/level of IRQ */
static void restore_ELCR(char *trigger)
{
outb(trigger[0], PIC_ELCR1);
\
 
 \ /
  Last update: 2023-08-31 20:55    [W:0.049 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site