Re: usb_bulk_msg kernel hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jeremy,

Am Freitag, 16. April 2010 17:26:42 schrieb Jeremy Ramer:

> #define BUF_SIZE_IN 3110400+10

This should be
#define BUF_SIZE_IN (3110400 + 10)

>     if (count > BUF_SIZE_IN) {

This should be
       if ((count + 2) > BUF_SIZE_IN) {

>         count = BUF_SIZE_IN;

This should be
           count = BUF_SIZE_IN - 2;

best regards
Wolfgang
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux