login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
15
Re: [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffies() ???
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Arjan van de Ven <arjan@...>
To: Christophe Jaillet <christophe.jaillet@...>
Cc: cj <christophe.jaillet@...>, linux <linux-kernel@...>, <florian.fainelli@...>, <netdev@...>
Subject:
Re: [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffies() ???
Date: Thursday, May 15, 2008 - 5:43 pm
On Thu, 15 May 2008 23:26:22 +0200 "Christophe Jaillet" <christophe.jaillet@wanadoo.fr> wrote:
quoted text
> From: Christophe Jaillet <christophe.jaillet@wanadoo.fr> > > Hi, here is a patch against linux/drivers/net/r6040.c. > > Compared to other places in the kernel, I think that this driver > misuses the function round_jiffies. > > > Note: this patch is based on 'linux-2.6.25.tar.bz2' > > Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr> > > --- > > --- linux 2.6.25/drivers/net/r6040.c 2008-05-15 > 23:21:28.000000000 +0200 +++ linux > 2.6.25/drivers/net/r6040.c.cj 2008-05-15 22:16:44.000000000 > +0200 @@ -733,7 +733,7 @@ static void r6040_timer(unsigned long da } > > /* Timer active again */ > - mod_timer(&lp->timer, jiffies + round_jiffies(HZ)); > + mod_timer(&lp->timer, round_jiffies(jiffies + HZ)); > } >
good catch! Acked-by: Arjan van de Ven <arjan@linux.intel.com> --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffies()...
, Christophe Jaillet
, (Thu May 15, 5:26 pm)
Re: [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffi...
, Jeff Garzik
, (Wed Jun 11, 10:50 pm)
Re: [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffi...
, Arjan van de Ven
, (Thu May 15, 5:43 pm)
Re: [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffi...
, Florian Fainelli
, (Thu May 15, 5:31 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
Linus Torvalds
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
18 users
and
838 guests
online.
Online users
haniboddy129
zeekec
ocroexjqwwuu
usedhymermottr
fujii
liverangiosarc
swinefluccjwe
beatsrddh
carinsuranceov
MiaCline
hotelridaz
adamclark
CasseroleRecip
creditcarddebt
drugandalcohol
iren41vandburg
acaiberryynnqpf
danschramkose
Syndicate