* [PATCH] linux/interrupt.h: fix struct irqaction comment order inconsistency
@ 2024-07-08 16:06 ChengChaoChun
2024-07-26 16:33 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: ChengChaoChun @ 2024-07-08 16:06 UTC (permalink / raw)
To: linux-kernel; +Cc: ChengChaoChun
Rearrange struct irqaction comment to match member order in the code.
Signed-off-by: ChengChaoChun <abc21531050@gmail.com>
---
include/linux/interrupt.h | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 5c9bdd3ffccc..b405e181829b 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -104,19 +104,19 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
/**
* struct irqaction - per interrupt action descriptor
- * @handler: interrupt handler function
- * @name: name of the device
- * @dev_id: cookie to identify the device
- * @percpu_dev_id: cookie to identify the device
- * @next: pointer to the next irqaction for shared interrupts
- * @irq: interrupt number
- * @flags: flags (see IRQF_* above)
- * @thread_fn: interrupt handler function for threaded interrupts
- * @thread: thread pointer for threaded interrupts
- * @secondary: pointer to secondary irqaction (force threading)
- * @thread_flags: flags related to @thread
- * @thread_mask: bitmask for keeping track of @thread activity
- * @dir: pointer to the proc/irq/NN/name entry
+ * @handler: interrupt handler function
+ * @dev_id: cookie to identify the device
+ * @percpu_dev_id: cookie to identify the device
+ * @next: pointer to the next irqaction for shared interrupts
+ * @thread_fn: interrupt handler function for threaded interrupts
+ * @thread: thread pointer for threaded interrupts
+ * @secondary: pointer to secondary irqaction (force threading)
+ * @irq: interrupt number
+ * @flags: flags (see IRQF_* above)
+ * @thread_flags: flags related to @thread
+ * @thread_mask: bitmask for keeping track of @thread activity
+ * @name: name of the device
+ * @dir: pointer to the proc/irq/NN/name entry
*/
struct irqaction {
irq_handler_t handler;
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] linux/interrupt.h: fix struct irqaction comment order inconsistency
2024-07-08 16:06 [PATCH] linux/interrupt.h: fix struct irqaction comment order inconsistency ChengChaoChun
@ 2024-07-26 16:33 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2024-07-26 16:33 UTC (permalink / raw)
To: ChengChaoChun, linux-kernel
On Tue, Jul 09 2024 at 00:06, ChengChaoChun wrote:
> /**
> * struct irqaction - per interrupt action descriptor
> - * @handler: interrupt handler function
> - * @name: name of the device
> - * @dev_id: cookie to identify the device
> - * @percpu_dev_id: cookie to identify the device
> - * @next: pointer to the next irqaction for shared interrupts
> - * @irq: interrupt number
> - * @flags: flags (see IRQF_* above)
> - * @thread_fn: interrupt handler function for threaded interrupts
> - * @thread: thread pointer for threaded interrupts
> - * @secondary: pointer to secondary irqaction (force threading)
> - * @thread_flags: flags related to @thread
> - * @thread_mask: bitmask for keeping track of @thread activity
> - * @dir: pointer to the proc/irq/NN/name entry
> + * @handler: interrupt handler function
This changes tabs to spaces ....
> + * @dev_id: cookie to identify the device
> + * @percpu_dev_id: cookie to identify the device
> + * @next: pointer to the next irqaction for shared interrupts
> + * @thread_fn: interrupt handler function for threaded interrupts
> + * @thread: thread pointer for threaded interrupts
> + * @secondary: pointer to secondary irqaction (force threading)
> + * @irq: interrupt number
> + * @flags: flags (see IRQF_* above)
> + * @thread_flags: flags related to @thread
> + * @thread_mask: bitmask for keeping track of @thread activity
And while at it, please align all members in a tabular fashion.
Thanks,
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-26 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-08 16:06 [PATCH] linux/interrupt.h: fix struct irqaction comment order inconsistency ChengChaoChun
2024-07-26 16:33 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox