[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180726.212513.177438672592617851.davem@davemloft.net>
Date: Thu, 26 Jul 2018 21:25:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: baijiaju1990@...il.com
Cc: ionut@...ula.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: adaptec: Replace mdelay() with msleep() in
starfire_init_one()
From: Jia-Ju Bai <baijiaju1990@...il.com>
Date: Fri, 27 Jul 2018 11:51:06 +0800
> starfire_init_one() is never called in atomic context.
> It calls 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.
Powered by blists - more mailing lists