linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][2.4.28-pre3] IEEE1394 driver core gcc-3.4 fixes
@ 2004-09-12 11:31 Mikael Pettersson
  0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2004-09-12 11:31 UTC (permalink / raw)
  To: bcollins, marcelo.tosatti; +Cc: linux-kernel

This patch fixes gcc-3.4 cast-as-lvalue warnings in the 2.4.28-pre3
kernel's IEEE1394 driver core. The changes are all backports from
the 2.6 kernel.

/Mikael

--- linux-2.4.28-pre3/drivers/ieee1394/highlevel.c.~1~	2003-11-29 00:28:11.000000000 +0100
+++ linux-2.4.28-pre3/drivers/ieee1394/highlevel.c	2004-09-12 01:56:20.000000000 +0200
@@ -500,7 +500,7 @@
                                 rcode = RCODE_TYPE_ERROR;
                         }
 
-			(u8 *)data += partlength;
+			data += partlength;
                         length -= partlength;
                         addr += partlength;
 
@@ -546,7 +546,7 @@
                                 rcode = RCODE_TYPE_ERROR;
                         }
 
-			(u8 *)data += partlength;
+			data += partlength;
                         length -= partlength;
                         addr += partlength;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-12 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-12 11:31 [PATCH][2.4.28-pre3] IEEE1394 driver core gcc-3.4 fixes Mikael Pettersson

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