Re: [PATCH] block: paride: on26: Replace mdelay with msleep in on26_test_port

2018-01-26 Thread Jia-Ju Bai
On 2018/1/27 1:31, Al Viro wrote: On Fri, Jan 26, 2018 at 11:42:25PM +0800, Jia-Ju Bai wrote: After checking all possible call chains to on26_test_port() here, my tool finds that this function is never called in atomic context, namely never in an interrupt handler or holding a spinlock. And on

Re: [PATCH] block: paride: on26: Replace mdelay with msleep in on26_test_port

2018-01-26 Thread Al Viro
On Fri, Jan 26, 2018 at 11:42:25PM +0800, Jia-Ju Bai wrote: > After checking all possible call chains to on26_test_port() here, > my tool finds that this function is never called in atomic context, > namely never in an interrupt handler or holding a spinlock. > And on26_test_port() is only called b

[PATCH] block: paride: on26: Replace mdelay with msleep in on26_test_port

2018-01-26 Thread Jia-Ju Bai
After checking all possible call chains to on26_test_port() here, my tool finds that this function is never called in atomic context, namely never in an interrupt handler or holding a spinlock. And on26_test_port() is only called by pi_probe_unit() that calls wait_event() through pi_claim(), so it