Skip to content

Commit

Permalink
sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS
Browse files Browse the repository at this point in the history
wait_event_interruptible_timeout may return -ERESTARTSYS.

Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
RoelKluin authored and davem330 committed Mar 4, 2009
1 parent c21986a commit f4c1363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sbus/char/bbc_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f4c1363

Please sign in to comment.