Re: [linux-usb-devel] [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Vitaliy Ivanov <vitalivanov@...>
Cc: <linux-kernel@...>, Pete Zaitcev <zaitcev@...>, <linux-usb-devel@...>, Willy Tarreau <w@...>
Date: Tuesday, October 16, 2007 - 10:59 am

On Tue, Oct 16, 2007 at 04:48:54PM +0300, Vitaliy Ivanov wrote:

That's probably because you tested this on a little-endian machine :)

Pete is right, this code is incorrect for 2.4, drop the le16_to_cpu
function, the wMaxPacketSize variable is in native-endian form in 2.4
and early 2.6 versions.

thanks,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-usb-devel] [2.4 patch] Port of adutux driver from..., Greg KH, (Tue Oct 16, 10:59 am)