[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081025121244.07cdd6d7@infradead.org>
Date: Sat, 25 Oct 2008 12:12:44 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Marcin Slusarz <marcin.slusarz@...il.com>
Cc: "Carlos R. Mafra" <crmafra2@...il.com>,
Arjan van de Ven <arjan@...ux.intel.com>,
linux-kernel@...r.kernel.org
Subject: Re: [2.6.28-rc1 regression] wmifinfo dockapp takes 100% of cpu
(bisected)
On Sat, 25 Oct 2008 20:03:27 +0200
Marcin Slusarz <marcin.slusarz@...il.com> wrote:
> > > if (copy_from_user(&tv, tvp, sizeof(tv)))
> > > return -EFAULT;
> > >
> > > + while (tv.tv_usec > USEC_PER_SEC && i < 1000) {
> ^
> should be >=
yeah thanks for catching that. Note to self: don't code before coffee
I'm not very happy with a while loop; but at least it solves the problem
I'll try to make it nicer than this ...
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists