[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181001093853.GC7482@light.dominikbrodowski.net>
Date: Mon, 1 Oct 2018 11:38:53 +0200
From: Dominik Brodowski <linux@...inikbrodowski.net>
To: Jia-Ju Bai <baijiaju1990@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pcmcia: pcmcia_resource: Replace mdelay() with msleep()
On Mon, Jul 30, 2018 at 09:42:56PM +0800, Jia-Ju Bai wrote:
> pcmcia_fixup_iowidth() and pcmcia_enable_device() are
> never called in atomic context.
> They call mdelay() to busily wait, which is not necessary.
> mdelay() can be replaced with msleep().
>
> This is found by a static analysis tool named DCNS written by myself.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@...il.com>
Applied to pcmcia-next, thanks.
Dominik
Powered by blists - more mailing lists