Re: [patch 08/12] usb: hosts: Remove in_interrupt() from comments

2020-10-14 Thread Alan Stern
On Wed, Oct 14, 2020 at 04:52:23PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_interrupt() in drivers is phased out for various reasons. > > Various comments use !in_interrupt() to describe calling context for probe() > and remove() functions. That's wrong because

Re: [patch 08/12] usb: hosts: Remove in_interrupt() from comments

2020-10-14 Thread Krzysztof Kozlowski
On Wed, Oct 14, 2020 at 04:52:23PM +0200, Thomas Gleixner wrote: > From: Ahmed S. Darwish > > The usage of in_interrupt() in drivers is phased out for various reasons. > > Various comments use !in_interrupt() to describe calling context for probe() > and remove() functions. That's wrong because

[patch 08/12] usb: hosts: Remove in_interrupt() from comments

2020-10-14 Thread Thomas Gleixner
From: Ahmed S. Darwish The usage of in_interrupt() in drivers is phased out for various reasons. Various comments use !in_interrupt() to describe calling context for probe() and remove() functions. That's wrong because the calling context has to be preemptible task context, which is not what !in