Re: usb-serial.c question - potential Memory fault

"Alain Degreffe" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <004f01c7d336$93726170$ba572450$@com>
Greg,

You are right ( of course ), but using the buffer given by the usb-serial
seems to bo logic as I said.
By this way I don't create unnecessary buffer. But in bulk transfer, the
buffer_size can be greater than
The value given by the endpoint. The usb lowlevel will split the bulk
tranfsert. 
So, why this limit in the usb-serial.c ? For the moment , I kfree the buffer
In the my open function and create a new one bigger.   

Thanks,

Alain


-------------------------------------------------------------------------
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/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.