summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorNathan Lynch <nathanl@linux.ibm.com>2019-06-27 08:15:36 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-30 15:53:48 +0300
commit1b3da8ffaa158e9a95c19b17c14d7259d58bc0cd (patch)
tree7b5b74d40b2d1ebff8e786375ce48df45b06d137 /lib/mpi/mpiutil.c
parentbe6f885e97e9304541057fbf25148685847ef310 (diff)
downloadlinux-1b3da8ffaa158e9a95c19b17c14d7259d58bc0cd.tar.xz
powerpc/cacheinfo: Improve diagnostics about malformed cache lists
If we have a bug which causes us to start with the wrong kind of OF node when linking up the cache tree, it's helpful for debugging to print information about what we found vs what we expected. So replace uses of WARN_ON_ONCE with WARN_ONCE, which lets us include an informative message instead of a contentless backtrace. Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190627051537.7298-4-nathanl@linux.ibm.com
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions