From: Christophe Jaillet Date: Thu, 15 May 2008 21:26:22 +0000 (+0200) Subject: drivers/net/r6040.c: correct bad use of round_jiffies() X-Git-Tag: firefly_0821_release~19941^2~4^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=208aefa2451cc1f4d87622cb9b2ca4333afa8337;p=firefly-linux-kernel-4.4.55.git drivers/net/r6040.c: correct bad use of round_jiffies() Compared to other places in the kernel, I think that this driver misuses the function round_jiffies. Signed-off-by: Christophe Jaillet Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 169edc154928..858b191517b3 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c @@ -733,7 +733,7 @@ static void r6040_timer(unsigned long data) } /* Timer active again */ - mod_timer(&lp->timer, jiffies + round_jiffies(HZ)); + mod_timer(&lp->timer, round_jiffies(jiffies + HZ)); } /* Read/set MAC address routines */