mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix wrong sized spinlock flags argument
@ 2008-01-17 20:52 Daniel Walker
  2008-01-17 23:48 ` Linus Torvalds
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Walker @ 2008-01-17 20:52 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, Maxim Levitsky, Mauro Carvalho Chehab

Correct wrong sized spinlock flags, form int to unsigned long.

Signed-off-by: Daniel Walker <dwalker@mvista.com>

---
 drivers/media/video/saa7134/saa7134-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.23/drivers/media/video/saa7134/saa7134-core.c
===================================================================
--- linux-2.6.23.orig/drivers/media/video/saa7134/saa7134-core.c
+++ linux-2.6.23/drivers/media/video/saa7134/saa7134-core.c
@@ -1212,7 +1212,7 @@ static int saa7134_resume(struct pci_dev
 {
 
 	struct saa7134_dev *dev = pci_get_drvdata(pci_dev);
-	unsigned int flags;
+	unsigned long flags;
 
 	pci_set_power_state(pci_dev, PCI_D0);
 	pci_restore_state(pci_dev);
-- 

-- 

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

end of thread, other threads:[~2008-01-18 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-17 20:52 [PATCH] fix wrong sized spinlock flags argument Daniel Walker
2008-01-17 23:48 ` Linus Torvalds
2008-01-18  0:05   ` Daniel Walker
2008-01-18 10:13     ` Mauro Carvalho Chehab

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

Powered by JetHome