linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] (linux-next) Cleanups in drivers/staging/comedi
@ 2009-05-27 14:35 Gerard Lledo
  2009-05-27 14:35 ` [PATCH] Staging: comedi: Add missing includes Gerard Lledo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Gerard Lledo @ 2009-05-27 14:35 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-next


These are 2 small patches that fix one warning and a build faulure in the
comedi subsystem.  Both of them were build-tested.

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

* [PATCH] Staging: comedi: Add missing includes
  2009-05-27 14:35 [PATCH] (linux-next) Cleanups in drivers/staging/comedi Gerard Lledo
@ 2009-05-27 14:35 ` Gerard Lledo
  2009-06-02 21:43   ` Greg KH
  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
  2 siblings, 1 reply; 6+ messages in thread
From: Gerard Lledo @ 2009-05-27 14:35 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-next, Gerard Lledo

Fixes build errors due to missing includes

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

diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 7a1ccde..1cdf5aa 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -38,6 +38,9 @@
 #include <linux/dma-mapping.h>
 #include <linux/uaccess.h>
 #include <linux/io.h>
+#include <linux/delay.h>
+#include <linux/jiffies.h>
+#include <linux/timer.h>
 
 #include "comedi.h"
 
-- 
1.5.6.5

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

* [PATCH] Staging: comedi: Fix build warning (type mismatch)
  2009-05-27 14:35 [PATCH] (linux-next) Cleanups in drivers/staging/comedi Gerard Lledo
  2009-05-27 14:35 ` [PATCH] Staging: comedi: Add missing includes Gerard Lledo
@ 2009-05-27 14:35 ` Gerard Lledo
  2009-05-27 15:03 ` [PATCH] (linux-next) Cleanups in drivers/staging/comedi Frederic Weisbecker
  2 siblings, 0 replies; 6+ messages in thread
From: Gerard Lledo @ 2009-05-27 14:35 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-next, Gerard Lledo

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

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

* Re: [PATCH] (linux-next) Cleanups in drivers/staging/comedi
  2009-05-27 14:35 [PATCH] (linux-next) Cleanups in drivers/staging/comedi Gerard Lledo
  2009-05-27 14:35 ` [PATCH] Staging: comedi: Add missing includes Gerard Lledo
  2009-05-27 14:35 ` [PATCH] Staging: comedi: Fix build warning (type mismatch) Gerard Lledo
@ 2009-05-27 15:03 ` Frederic Weisbecker
  2009-05-27 15:03   ` Greg KH
  2 siblings, 1 reply; 6+ messages in thread
From: Frederic Weisbecker @ 2009-05-27 15:03 UTC (permalink / raw)
  To: Gerard Lledo, Greg Kroah-Hartman; +Cc: kernel-janitors, linux-next, LKML

On Wed, May 27, 2009 at 05:35:17PM +0300, Gerard Lledo wrote:
> 
> These are 2 small patches that fix one warning and a build faulure in the
> comedi subsystem.  Both of them were build-tested.


Hi,

Don't forget to Cc linux-kernel and also Greg who is
the staging subsystem maintainer.

(adding the missing Cc)

Thanks.



> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] (linux-next) Cleanups in drivers/staging/comedi
  2009-05-27 15:03 ` [PATCH] (linux-next) Cleanups in drivers/staging/comedi Frederic Weisbecker
@ 2009-05-27 15:03   ` Greg KH
  0 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2009-05-27 15:03 UTC (permalink / raw)
  To: Frederic Weisbecker; +Cc: Gerard Lledo, kernel-janitors, linux-next, LKML

On Wed, May 27, 2009 at 05:03:13PM +0200, Frederic Weisbecker wrote:
> On Wed, May 27, 2009 at 05:35:17PM +0300, Gerard Lledo wrote:
> > 
> > These are 2 small patches that fix one warning and a build faulure in the
> > comedi subsystem.  Both of them were build-tested.
> 
> 
> Hi,
> 
> Don't forget to Cc linux-kernel and also Greg who is
> the staging subsystem maintainer.
> 
> (adding the missing Cc)

My scripts caught them, they are now in my ever-growing "to-apply"
queue.

thanks,

greg k-h

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

* Re: [PATCH] Staging: comedi: Add missing includes
  2009-05-27 14:35 ` [PATCH] Staging: comedi: Add missing includes Gerard Lledo
@ 2009-06-02 21:43   ` Greg KH
  0 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2009-06-02 21:43 UTC (permalink / raw)
  To: Gerard Lledo; +Cc: kernel-janitors, linux-next

On Wed, May 27, 2009 at 05:35:18PM +0300, Gerard Lledo wrote:
> Fixes build errors due to missing includes
> 
> Signed-off-by: Gerard Lledo <gerard.lledo@gmail.com>

This should now be fixed up already.

thanks,

greg k-h

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

end of thread, other threads:[~2009-06-02 22:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-27 14:35 [PATCH] (linux-next) Cleanups in drivers/staging/comedi Gerard Lledo
2009-05-27 14:35 ` [PATCH] Staging: comedi: Add missing includes Gerard Lledo
2009-06-02 21:43   ` Greg KH
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   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).