[PATCH] generic_serial.c portability fix

gs_wait_tx_flushed() should have its second argument (timeout) unsigned
long, not int.  One of the callers passes it MAX_SCHEDULE_TIMEOUT and
function itself compares argument with that value.  Since that's
LONG_MAX, we get breakage on all 64bit platforms.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
1 file changed