[Compile Regression in 2.4.25-pre8][PATCH 26/42]
From: Kronos
Date: Mon Feb 02 2004 - 15:04:14 EST
kaweth.c:738: warning: assignment from incompatible pointer type
Add explicit cast to suppress gcc warning.
diff -Nru -X dontdiff linux-2.4-vanilla/drivers/usb/kaweth.c linux-2.4/drivers/usb/kaweth.c
--- linux-2.4-vanilla/drivers/usb/kaweth.c Tue Nov 11 17:51:14 2003
+++ linux-2.4/drivers/usb/kaweth.c Sat Jan 31 18:14:38 2004
@@ -735,7 +735,7 @@
}
}
- private_header = __skb_push(skb, 2);
+ private_header = (u16*)__skb_push(skb, 2);
*private_header = cpu_to_le16(skb->len-2);
kaweth->tx_skb = skb;
--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
Dicono che il cane sia il miglior amico dell'uomo. Secondo me non e`
vero. Quanti dei vostri amici avete fatto castrare, recentemente?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/