Commit f4c13638 authored by Roel Kluin's avatar Roel Kluin Committed by David S. Miller

sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS

wait_event_interruptible_timeout may return -ERESTARTSYS.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c21986a7
......@@ -129,7 +129,7 @@ static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status)
bp->waiting = 1;
add_wait_queue(&bp->wq, &wait);
while (limit-- > 0) {
unsigned long val;
long val;
val = wait_event_interruptible_timeout(
bp->wq,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment