Re: [PATCH] block: fix NPE when resuming SCSI devices using blk-mq

From: Tomas Janousek
Date: Mon Jul 30 2018 - 11:00:20 EST


Hi Ming,

On Mon, Jul 30, 2018 at 07:50:03PM +0800, Ming Lei wrote:
> Now runtime PM is still enabled for sd/sr, and I believe the following
> patch is needed until we figure out one perfect way for supporting it
> well:
> [...]
> + pm_runtime_disable(dev);

Awesome, thanks for the quick reaction! :-)

(I don't happen to have a .config for the hardware I'm experincing the problem
on, so don't expect a Tested-By from me, but I don't see why it wouldn't fix
the issue, and it did for Patrick.)

--
TomÃÅ JanouÅek, a.k.a. PivnÃk, a.k.a. Liskni_si, http://work.lisk.in/