mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
soc: qcom: Fix printk format warnings from subsystem restart
Fix three spots in subsystem_restart.c that should use %lld to log print a
time64_t value.
Fixes: 4fcd37a ("soc: qcom: Add snapshot of SSR, PIL, Sysmon, and PDR drivers")
Change-Id: Ic0dedbadebc817e544ce736a6cfec7088ebc7309
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
parent
9fbdb30f29
commit
8780cf9d1e
1 changed files with 3 additions and 3 deletions
|
|
@ -453,7 +453,7 @@ static void do_epoch_check(struct subsys_device *dev)
|
|||
if ((curr_time->tv_sec - r_log->time.tv_sec) >
|
||||
max_history_time_check) {
|
||||
|
||||
pr_debug("Deleted node with restart_time = %ld\n",
|
||||
pr_debug("Deleted node with restart_time = %lld\n",
|
||||
r_log->time.tv_sec);
|
||||
list_del(&r_log->list);
|
||||
kfree(r_log);
|
||||
|
|
@ -461,10 +461,10 @@ static void do_epoch_check(struct subsys_device *dev)
|
|||
}
|
||||
if (!n) {
|
||||
time_first = &r_log->time;
|
||||
pr_debug("Time_first: %ld\n", time_first->tv_sec);
|
||||
pr_debug("Time_first: %lld\n", time_first->tv_sec);
|
||||
}
|
||||
n++;
|
||||
pr_debug("Restart_time: %ld\n", r_log->time.tv_sec);
|
||||
pr_debug("Restart_time: %lld\n", r_log->time.tv_sec);
|
||||
}
|
||||
|
||||
if (time_first && n >= max_restarts_check) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue