Re: linux-next: build failure after merge of the tip tree

Peter Zijlstra
2024-09-11T13:00:10Z

On Wed, Sep 11, 2024 at 08:40:15PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the tip tree, today's linux-next build (arm64 defconfig)
> failed like this:
>
> drivers/cpufreq/cppc_cpufreq.c: In function 'cppc_freq_invariance_init':
> drivers/cpufreq/cppc_cpufreq.c:227:35: error: 'NSER_PER_MSEC' undeclared (first use in this function); did you mean 'NSEC_PER_MSEC'?
> 227 | .sched_runtime = NSER_PER_MSEC,
> | ^~~~~~~~~~~~~
> | NSEC_PER_MSEC
> drivers/cpufreq/cppc_cpufreq.c:227:35: note: each undeclared identifier is reported only once for each function it appears in
> drivers/cpufreq/cppc_cpufreq.c:229:17: error: request for member 'sched_period' in something not a structure or union
> 229 | .sched_period = 10 * NSEC_PER_MSEC,
> | ^
>
> Caused by commit
>
> b3a47ff09554 ("cpufreq/cppc: Use NSEC_PER_MSEC for deadline task")
>
> I have reverted that commit for today.

Thanks, I've rebased tip/sched/core and fixed it up. Sorry for the fail.