Re: [PATCH] atmel: Replace mdelay() with msleep() in probe_atmel_card()
From: Kalle Valo <hidden>
Date: 2018-07-31 07:25:59
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2018-07-31 07:25:59
Also in:
lkml, netdev
Jia-Ju Bai [off-list ref] wrote:
probe_atmel_card() 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 <redacted>
Patch applied to wireless-drivers-next.git, thanks. 5685bee313e9 atmel: Replace mdelay() with msleep() in probe_atmel_card() -- https://patchwork.kernel.org/patch/10546747/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches