[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7fcc02550809260906o35861a95se54aa76261923300@mail.gmail.com>
Date: Fri, 26 Sep 2008 11:06:24 -0500
From: Tammy <tammy000@...il.com>
To: Komuro <komurojun-mbn@...ty.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH git latest] drivers/net: fixing a datarace related to update_stats()
> You need two braces...
>
> - if ((inw(ioaddr+EL3_STATUS) & 0xe000) == 0x2000)
> + if ((inw(ioaddr+EL3_STATUS) & 0xe000) == 0x2000) {
> + spin_lock_irqsave(&lp->lock, flags);
> update_stats(dev);
> + spin_unlock_irqrestore(&lp->lock, flags);
> + }
> }
>
Thanks a lot. I will resubmit the patch then.
Lin
--
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