[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121228214115.GE3062@mtj.dyndns.org>
Date: Fri, 28 Dec 2012 16:41:15 -0500
From: Tejun Heo <tj@...nel.org>
To: Bing Zhao <bzhao@...vell.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>
Subject: Re: [PATCH 07/25] mwifiex: don't use [delayed_]work_pending()
On Sat, Dec 22, 2012 at 02:29:57PM -0800, Bing Zhao wrote:
> Hi Tejun,
>
> Thanks for the patch.
>
> > Drop work_pending() test from mwifiex_sdio_card_reset(). As
> > work_pending() becomes %false before sdio_card_reset_worker() starts
> > executing, it doesn't really protect anything. reset_host may change
> > between mmc_remove_host() and mmc_add_host(). Make
> > sdio_card_reset_worker() cache the target mmc_host so that it isn't
> > affected by mwifiex_sdio_card_reset() racing with it.
> >
> > Only compile tested.
> >
> > Signed-off-by: Tejun Heo <tj@...nel.org>
> > Cc: Bing Zhao <bzhao@...vell.com>
> > Cc: linux-wireless@...r.kernel.org
>
> Acked-by: Bing Zhao <bzhao@...vell.com>
>
> > ---
> > Please let me know how this patch should be routed. I can take it
> > through the workqueue tree if necessary.
>
> If you are taking other patches in this series through your tree, please take this one too.
Applied to wq/for-3.9-cleanups.
Thanks.
--
tejun
--
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