On Mon, 13 Feb 2023 13:23:51 -0600, Nathan Lynch wrote: > machine_is() can't provide correct results before probe_machine() has > run. Warn when it's used too early in boot, placing the WARN_ON() in a > helper function so the reported file:line indicates exactly what went > wrong. > > checkpatch complains about __attribute__((weak)) in the patch, so > change that to __weak, and align the line continuations as well. > > [...]
Applied to powerpc/next. [1/1] powerpc/machdep: warn when machine_is() used too early https://git.kernel.org/powerpc/c/388defd5e4180a48e068d7ba9b024ce0ca957968 cheers