Messages in this thread Patch in this message | | | Date | Mon, 2 Feb 2004 20:58:04 +0100 | From | Kronos <> | Subject | [Compile Regression in 2.4.25-pre8][PATCH 26/42] |
| |
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@kronoz.cjb.net 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |