Re: [PATCH] scsi/sd: Avoid that hibernation triggers a kernel warning

2018-10-17 Thread Bart Van Assche
On Wed, 2018-10-17 at 13:27 -0700, Bart Van Assche wrote: > Although the power management code never calls the system-wide and runtime > suspend callbacks concurrently, runtime power state changes can happen > while the system is being suspended or resumed. See also the dpm_suspend() > and

[PATCH] scsi/sd: Avoid that hibernation triggers a kernel warning

2018-10-17 Thread Bart Van Assche
Although the power management code never calls the system-wide and runtime suspend callbacks concurrently, runtime power state changes can happen while the system is being suspended or resumed. See also the dpm_suspend() and dpm_resume() calls in hibernation_snapshot(). Make sure the sd driver