commit | 376b07691ec54a44925b4fee024c089b8b7b6616 | [log] [tgz] |
---|---|---|
author | Alexander Viro <viro@www.linux.org.uk> | Sun Apr 03 18:06:05 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Sun Apr 03 18:06:05 2005 -0700 |
tree | af6e568562098b2065f6a5ac97d64dfc65b98d8f | |
parent | 1fa6bac57b20c8250874387bdd9df6b8fe8340d3 [diff] |
[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>