2004-03-27 05:48:37

by Marcelo Tosatti

[permalink] [raw]
Subject: [PATCH] Fix cyclades async driver timeout miscalculation


Hi,

The attached patch fixes a problem where cy_wait_until_sent()
miscalculates (calculate -1 on a unsigned long) the "char_time"
parameter passed to schedule_timeout().

Fix that by making it a signed long, and checking for
negative value.

Please apply.


Attachments:
(No filename) (262.00 B)
cy_wait_fix.patch (812.00 B)
Download all attachments