From: Frank Rowand <frank.rowand@am.sony.com>
To: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH] kernel make error - smtc_ipi.h irq flags, 2.6.24-rc7
Date: Tue, 15 Jan 2008 14:26:44 -0800 [thread overview]
Message-ID: <1200436004.4092.26.camel@bx740> (raw)
From: Frank Rowand <frank.rowand@am.sony.com>
Fix compile warning (which becomes compile error due to -Werror). Type of
argument "flags" for spin_lock_irqsave() was incorrect in some functions.
Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
---
include/asm-mips/smtc_ipi.h | 6 3 + 3 - 0 !
1 files changed, 3 insertions(+), 3 deletions(-)
Index: linux-2.6.24-rc7/include/asm-mips/smtc_ipi.h
===================================================================
--- linux-2.6.24-rc7.orig/include/asm-mips/smtc_ipi.h
+++ linux-2.6.24-rc7/include/asm-mips/smtc_ipi.h
@@ -49,7 +49,7 @@ struct smtc_ipi_q {
static inline void smtc_ipi_nq(struct smtc_ipi_q *q, struct smtc_ipi *p)
{
- long flags;
+ unsigned long flags;
spin_lock_irqsave(&q->lock, flags);
if (q->head == NULL)
@@ -98,7 +98,7 @@ static inline struct smtc_ipi *smtc_ipi_
static inline void smtc_ipi_req(struct smtc_ipi_q *q, struct smtc_ipi *p)
{
- long flags;
+ unsigned long flags;
spin_lock_irqsave(&q->lock, flags);
if (q->head == NULL) {
@@ -114,7 +114,7 @@ static inline void smtc_ipi_req(struct s
static inline int smtc_ipi_qdepth(struct smtc_ipi_q *q)
{
- long flags;
+ unsigned long flags;
int retval;
spin_lock_irqsave(&q->lock, flags);
next reply other threads:[~2008-01-15 22:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-15 22:26 Frank Rowand [this message]
2008-01-16 16:23 ` [PATCH] kernel make error - smtc_ipi.h irq flags, 2.6.24-rc7 Ralf Baechle
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=1200436004.4092.26.camel@bx740 \
--to=frank.rowand@am.sony.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/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