Re: [patch V2 11/36] net: ionic: Replace in_interrupt() usage.

2020-09-29 Thread Shannon Nelson
On 9/29/20 1:25 PM, Thomas Gleixner wrote: From: Sebastian Andrzej Siewior The in_interrupt() usage in this driver tries to figure out which context may sleep and which context may not sleep. in_interrupt() is not really suitable as it misses both preemption disabled and interrupt disabled invo

[patch V2 11/36] net: ionic: Replace in_interrupt() usage.

2020-09-29 Thread Thomas Gleixner
From: Sebastian Andrzej Siewior The in_interrupt() usage in this driver tries to figure out which context may sleep and which context may not sleep. in_interrupt() is not really suitable as it misses both preemption disabled and interrupt disabled invocations from task context. Conditionals like