Commit 2358f808 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] bttv jiffies warning fix

Use unsigned long for time_after(), not an int.
parent 2099571f
...@@ -247,7 +247,7 @@ static int ...@@ -247,7 +247,7 @@ static int
bttv_i2c_wait_done(struct bttv *btv) bttv_i2c_wait_done(struct bttv *btv)
{ {
u32 stat; u32 stat;
int timeout; unsigned long timeout;
timeout = jiffies + HZ/100 + 1; /* 10ms */ timeout = jiffies + HZ/100 + 1; /* 10ms */
for (;;) { for (;;) {
......
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