From: "Liuweni" <qingshenlwy@gmail.com>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Cc: "qingshenlwy" <qingshenlwy@tom.com>, "xgr178" <xgr178@163.com>
Subject: [PATCH]kernel/irq/chip.c:Modify the code note
Date: Wed, 4 Nov 2009 20:11:05 +0800 [thread overview]
Message-ID: <200911042011027500109@gmail.com> (raw)
In the origin, the code notes are not fit for set_irq_msi.
The function name is set_irq_data.
And, I change function note "handle_percpu_IRQ" to "handle_percpu_irq".
Signed-off-by: Liuwenyi <qingshenlwy@gmail.com>
------------------------------------------
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index c166019..ba566c2 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)
{
@@ -590,7 +590,7 @@ out_unlock:
}
/**
- * handle_percpu_IRQ - Per CPU local irq handler
+ * handle_percpu_irq - Per CPU local irq handler
* @irq: the interrupt number
* @desc: the interrupt description structure for this irq
*
--------------
Liuweni
2009-11-04
next reply other threads:[~2009-11-04 12:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 12:11 Liuweni [this message]
2009-11-04 13:06 ` [PATCH]kernel/irq/chip.c:Modify the code note Jiri Kosina
2009-11-04 14:31 ` Liuweni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200911042011027500109@gmail.com \
--to=qingshenlwy@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=qingshenlwy@tom.com \
--cc=xgr178@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox