infra: fix potential overflow in timeout return

This commit is contained in:
Thomas Schoebel-Theuer 2020-02-20 09:42:54 +01:00 committed by Thomas Schoebel-Theuer
parent 1cd77abe6d
commit cce2e21c08
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
*/
#define brick_wait(wq, flag, condition, timeout) \
({ \
unsigned long __tmout = (timeout); \
long __tmout = (timeout); \
int __old_flag; \
\
might_sleep(); \