All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerard Lledo <gerard.lledo@gmail.com>
To: kernel-janitors@vger.kernel.org
Cc: linux-next@vger.kernel.org, Gerard Lledo <gerard.lledo@gmail.com>
Subject: [PATCH] Staging: comedi: Fix build warning (type mismatch)
Date: Wed, 27 May 2009 14:35:19 +0000	[thread overview]
Message-ID: <1243434919-10192-3-git-send-email-gerard.lledo@gmail.com> (raw)
In-Reply-To: <1243434919-10192-1-git-send-email-gerard.lledo@gmail.com>

spin_lock_irqsave expects flags to be unsigned long, not unsigned int.

Signed-off-by: Gerard Lledo <gerard.lledo@gmail.com>
---
 drivers/staging/comedi/drivers/cb_pcidas.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/comedi/drivers/cb_pcidas.c b/drivers/staging/comedi/drivers/cb_pcidas.c
index 28212ad..702de15 100644
--- a/drivers/staging/comedi/drivers/cb_pcidas.c
+++ b/drivers/staging/comedi/drivers/cb_pcidas.c
@@ -1593,7 +1593,7 @@ static void handle_ao_interrupt(struct comedi_device *dev, unsigned int status)
 	struct comedi_cmd *cmd = &async->cmd;
 	unsigned int half_fifo = thisboard->fifo_size / 2;
 	unsigned int num_points;
-	unsigned int flags;
+	unsigned long flags;
 
 	async->events = 0;
 
-- 
1.5.6.5


WARNING: multiple messages have this Message-ID (diff)
From: Gerard Lledo <gerard.lledo@gmail.com>
To: kernel-janitors@vger.kernel.org
Cc: linux-next@vger.kernel.org, Gerard Lledo <gerard.lledo@gmail.com>
Subject: [PATCH] Staging: comedi: Fix build warning (type mismatch)
Date: Wed, 27 May 2009 17:35:19 +0300	[thread overview]
Message-ID: <1243434919-10192-3-git-send-email-gerard.lledo@gmail.com> (raw)
In-Reply-To: <1243434919-10192-1-git-send-email-gerard.lledo@gmail.com>

spin_lock_irqsave expects flags to be unsigned long, not unsigned int.

Signed-off-by: Gerard Lledo <gerard.lledo@gmail.com>
---
 drivers/staging/comedi/drivers/cb_pcidas.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/comedi/drivers/cb_pcidas.c b/drivers/staging/comedi/drivers/cb_pcidas.c
index 28212ad..702de15 100644
--- a/drivers/staging/comedi/drivers/cb_pcidas.c
+++ b/drivers/staging/comedi/drivers/cb_pcidas.c
@@ -1593,7 +1593,7 @@ static void handle_ao_interrupt(struct comedi_device *dev, unsigned int status)
 	struct comedi_cmd *cmd = &async->cmd;
 	unsigned int half_fifo = thisboard->fifo_size / 2;
 	unsigned int num_points;
-	unsigned int flags;
+	unsigned long flags;
 
 	async->events = 0;
 
-- 
1.5.6.5

  parent reply	other threads:[~2009-05-27 14:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27 14:35 [PATCH] (linux-next) Cleanups in drivers/staging/comedi Gerard Lledo
2009-05-27 14:35 ` Gerard Lledo
2009-05-27 14:35 ` [PATCH] Staging: comedi: Add missing includes Gerard Lledo
2009-05-27 14:35   ` Gerard Lledo
2009-06-02 21:43   ` Greg KH
2009-06-02 21:43     ` Greg KH
2009-05-27 14:35 ` Gerard Lledo [this message]
2009-05-27 14:35   ` [PATCH] Staging: comedi: Fix build warning (type mismatch) Gerard Lledo
2009-05-27 15:03 ` [PATCH] (linux-next) Cleanups in drivers/staging/comedi Frederic Weisbecker
2009-05-27 15:03   ` Frederic Weisbecker
2009-05-27 15:03   ` Greg KH
2009-05-27 15:03     ` Greg KH

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=1243434919-10192-3-git-send-email-gerard.lledo@gmail.com \
    --to=gerard.lledo@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-next@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.