[PATCH 2.5 IrDA] irnet cast

From: Jean Tourrilhes (jt@bougret.hpl.hp.com)
Date: Wed Jul 09 2003 - 18:51:00 EST


ir254_irnet_cast-2.diff :
~~~~~~~~~~~~~~~~~~~~~~~
                <Suggested by David S. Miller>
        o [FEATURE] remove pointer casting in IrNET debug code missed by David.

diff -u -p linux/net/irda/irnet/irnet_irda.d1.c linux/net/irda/irnet/irnet_irda.c
--- linux/net/irda/irnet/irnet_irda.d1.c Wed Jul 9 11:49:58 2003
+++ linux/net/irda/irnet/irnet_irda.c Wed Jul 9 11:50:34 2003
@@ -953,7 +953,7 @@ irnet_setup_server(void)
                       (void *) &irnet_server.s);
 #endif
 
- DEXIT(IRDA_SERV_TRACE, " - self=0x%X\n", (unsigned int) &irnet_server.s);
+ DEXIT(IRDA_SERV_TRACE, " - self=0x%p\n", &irnet_server.s);
   return 0;
 }
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:33 EST