projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b98351
)
drivers/net/r6040.c: correct bad use of round_jiffies()
author
Christophe Jaillet
<christophe.jaillet@wanadoo.fr>
Thu, 15 May 2008 21:26:22 +0000
(23:26 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Thu, 12 Jun 2008 02:25:38 +0000
(22:25 -0400)
Compared to other places in the kernel, I think that this driver misuses
the function round_jiffies.
Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/r6040.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/r6040.c
b/drivers/net/r6040.c
index 169edc154928305e154ccba45796b0cd52ec3c92..858b191517b3dfc17800147191d0afe4e3f22b1b 100644
(file)
--- 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 */