[openEuler-5.10 328/557] PM: hibernate: fix sparse warnings