Re: [PATCH 106/115] USB: PL2303: correctly handle baudrates above 115200

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

 



On 27-07-2011 16:41, Michał Sroczyński wrote:

+                       while (tmp>= 256) {
+                               tmp>>= 2;
+                               buf[1]<<= 1;
+                       }
+                       if (tmp>  256) {

   This will never be true due to the *while* loop above. Also, {} are not
needed.

Of course, you're right. It must have been leftover from older version.
Fixed patch in attachment.

It's too late -- your patch have been already merged. You can now submit an incremental patch.

Regards,
Michal Sroczynski

WBR, Sergei
--
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