treewide: Fix build errors with clang18
This commit is contained in:
parent
ec54855c0d
commit
9721b7ac13
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ static void dbg_snapshot_combine_pmsg(char *buffer, size_t count, unsigned int l
|
|||
rem_nsec = do_div(tv_kernel, 1000000000);
|
||||
time64_to_tm(logger.tv_sec, 0, &tmBuf);
|
||||
logbuf_len = snprintf(logbuf, LOGGER_HEADER_SIZE,
|
||||
"\n[%5llu.%06lu][%d:%16s] %02d-%02d %02d:%02d:%02d.%03d %5d %5d ",
|
||||
"\n[%5llu.%06lu][%d:%16s] %02d-%02d %02d:%02d:%02d.%03d %5d %5d ",
|
||||
tv_kernel, rem_nsec / 1000, raw_smp_processor_id(), current->comm,
|
||||
tmBuf.tm_mon + 1, tmBuf.tm_mday,
|
||||
tmBuf.tm_hour, tmBuf.tm_min, tmBuf.tm_sec,
|
||||
|
|
|
@ -40,7 +40,7 @@ struct sysbusy_stat {
|
|||
u64 time_in_state;
|
||||
} sysbusy_stats[NUM_OF_SYSBUSY_STATE];
|
||||
|
||||
static cpn_next_cpu[VENDOR_NR_CPUS] = { [0 ... VENDOR_NR_CPUS - 1] = -1 };
|
||||
static int cpn_next_cpu[VENDOR_NR_CPUS] = { [0 ... VENDOR_NR_CPUS - 1] = -1 };
|
||||
/******************************************************************************
|
||||
* sysbusy notify *
|
||||
******************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue