Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fix from Rafael Wysocki:
"Fix a recent regression preventing some systems from powering off
after saving a hibernation image (Dmitry Osipenko)"

* tag 'pm-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM: hibernate: Use kernel_can_power_off()

+1 -1
+1 -1
kernel/power/hibernate.c
··· 665 665 hibernation_platform_enter(); 666 666 fallthrough; 667 667 case HIBERNATION_SHUTDOWN: 668 - if (pm_power_off) 668 + if (kernel_can_power_off()) 669 669 kernel_power_off(); 670 670 break; 671 671 }