OSDN Git Service

PM: sleep: Switch to rtc_time64_to_tm()/rtc_tm_to_time64()
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 10 Dec 2019 17:05:40 +0000 (18:05 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 20 Dec 2019 08:58:08 +0000 (09:58 +0100)
commit2a2ef473cc9111b0d21ce18f49cb34d93d6991ad
treeaed0fd1623eebf4074b74aa56089a33d4554a5a7
parentd1eef1c619749b2a57e514a3fa67d9a516ffa919
PM: sleep: Switch to rtc_time64_to_tm()/rtc_tm_to_time64()

Call the 64bit versions of rtc_tm time conversion to avoid the y2038 issue.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/suspend_test.c