Yes, !resuming always evaluates to true because obviously the hot-unplug test was not done in any system PM operations.
I am also unsure whether cdev can be NULL in that context so I left it there. Other functions have similar cdev check too. I think IBM devs will have more insights on this.
Yes, !resuming always evaluates to true because obviously the hot-unplug test was not done in any system PM operations.
I am also unsure whether cdev can be NULL in that context so I left it there. Other functions have similar cdev check too. I think IBM devs will have more insights on this.