]> www.infradead.org Git - users/hch/misc.git/commit
powerpc/pseries/eeh: move pseries_eeh_err_inject() outside CONFIG_DEBUG_FS block
authorNarayana Murty N <nnmlinux@linux.ibm.com>
Tue, 17 Sep 2024 13:24:45 +0000 (09:24 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Sep 2024 09:06:25 +0000 (19:06 +1000)
commit3af2e2f68cc6baf0a11f662d30b0bf981f77bfea
treecee2592f65ce7cf466b9703480a8016343a07e0d
parent699d53f04829d6b8855ff458f86e4b75ef3e5f0c
powerpc/pseries/eeh: move pseries_eeh_err_inject() outside CONFIG_DEBUG_FS block

Makes pseries_eeh_err_inject() available even when debugfs
is disabled (CONFIG_DEBUG_FS=n). It moves eeh_debugfs_break_device()
and eeh_pe_inject_mmio_error() out of the CONFIG_DEBUG_FS block
and renames it as eeh_break_device().

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409170509.VWC6jadC-lkp@intel.com/
Fixes: b0e2b828dfca ("powerpc/pseries/eeh: Fix pseries_eeh_err_inject")
Signed-off-by: Narayana Murty N <nnmlinux@linux.ibm.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240917132445.3868016-1-nnmlinux@linux.ibm.com
arch/powerpc/kernel/eeh.c