ChangeSet 1.2000.6.23, 2004/10/20 16:37:46-07:00, [EMAIL PROTECTED] [PATCH] USB kaweth: use alloc_etherdev to allocate device private data - fix
Goof found by compile warning. From: Stephen Hemminger <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> drivers/usb/net/kaweth.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c --- a/drivers/usb/net/kaweth.c 2004-10-22 16:13:35 -07:00 +++ b/drivers/usb/net/kaweth.c 2004-10-22 16:13:35 -07:00 @@ -916,7 +916,7 @@ if (!netdev) return -ENOMEM; - kaweth = netdev_priv(dev); + kaweth = netdev_priv(netdev); kaweth->dev = dev; kaweth->net = netdev; ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel