linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][SSB] Fix a warning in PCI core driver
@ 2007-08-12 23:50 Aurelien Jarno
  2007-08-13  0:02 ` Michael Buesch
  0 siblings, 1 reply; 6+ messages in thread
From: Aurelien Jarno @ 2007-08-12 23:50 UTC (permalink / raw)
  To: Michael Buesch; +Cc: linux-wireless

The patch below fixes a warning spotted a few days ago by Andrew Morton
while releasing 2.6.23-rc2-mm1.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

--- a/drivers/ssb/driver_pcicore.c
+++ b/drivers/ssb/driver_pcicore.c
@@ -278,7 +278,7 @@
 static struct resource ssb_pcicore_mem_resource = {
 	.name	= "SSB PCIcore external memory",
 	.start	= SSB_PCI_DMA,
-	.end	= SSB_PCI_DMA + SSB_PCI_DMA_SZ - 1,
+	.end	= (u32)SSB_PCI_DMA + (u32)SSB_PCI_DMA_SZ - 1,
 	.flags	= IORESOURCE_MEM,
 };
 

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

end of thread, other threads:[~2007-08-13 12:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-12 23:50 [PATCH][SSB] Fix a warning in PCI core driver Aurelien Jarno
2007-08-13  0:02 ` Michael Buesch
2007-08-13  0:18   ` Aurelien Jarno
2007-08-13  2:21     ` Michael Buesch
2007-08-13  9:07       ` Aurelien Jarno
2007-08-13 12:18         ` Michael Buesch

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).