mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH]kernel/irq/chip.c:The code notes is not fit for the  function.
@ 2009-10-28  4:39 liu weni
  0 siblings, 0 replies; 3+ messages in thread
From: liu weni @ 2009-10-28  4:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: qingshenlwy

Signed-off-by: Liuweni <qingshenlwy@gmail.com>


In the origin, the code notes are not fit for set_irq_msi.
I modify the code notes, and no any changes for the code.
Is it OK?? thanks!



diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index c166019..da2f254 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -166,11 +166,11 @@ int set_irq_data(unsigned int irq, void *data)
 EXPORT_SYMBOL(set_irq_data);

 /**
- * set_irq_data - set irq type data for an irq
+ * set_irq_msi - set MSI descriptor data for an irq
  * @irq: Interrupt number
  * @entry: Pointer to MSI descriptor data
  *
- * Set the hardware irq controller data for an irq
+ * Set the MSI descriptor entry for an irq
  */
 int set_irq_msi(unsigned int irq, struct msi_desc *entry)
 {





Best Regards

Liuweni

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH]kernel/irq/chip.c:The code notes is not fit for the function.
@ 2009-10-26 13:22 liu weni
  2009-10-27 12:53 ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: liu weni @ 2009-10-26 13:22 UTC (permalink / raw)
  To: linux-kernel

In the origin, the code notes are not fit for set_irq_msi.
I modify the code notes, and no any changes for the code.


diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index c166019..da2f254 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -166,11 +166,11 @@ int set_irq_data(unsigned int irq, void *data)
 EXPORT_SYMBOL(set_irq_data);

 /**
- * set_irq_data - set irq type data for an irq
+ * set_irq_msi - set MSI descriptor data for an irq
  * @irq: Interrupt number
  * @entry: Pointer to MSI descriptor data
  *
- * Set the hardware irq controller data for an irq
+ * Set the MSI descriptor entry for an irq
  */
 int set_irq_msi(unsigned int irq, struct msi_desc *entry)
 {





Best Regards

Liuweni

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-28  4:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28  4:39 [PATCH]kernel/irq/chip.c:The code notes is not fit for the function liu weni
  -- strict thread matches above, loose matches on Subject: below --
2009-10-26 13:22 liu weni
2009-10-27 12:53 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®