Thread (3 messages) 3 messages, 3 authors, 2018-02-27

Re: [v2] bcma: Replace mdelay with usleep_range in bcma_pmu_resources_init

From: Kalle Valo <hidden>
Date: 2018-02-27 13:52:47
Also in: lkml

Jia-Ju Bai [off-list ref] wrote:
After checking all possible call chains to bcma_pmu_resources_init() here,
my tool finds that this function is never called in atomic context,
namely never in an interrupt handler or holding a spinlock.
Thus mdelay can be replaced with usleep_range to avoid busy wait.

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <redacted>
Acked-by: Larry Finger <redacted>
Patch applied to wireless-drivers-next.git, thanks.

8100091d0248 bcma: Replace mdelay with usleep_range in bcma_pmu_resources_init

-- 
https://patchwork.kernel.org/patch/10186561/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help