aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorMichael J. Ruhl <[email protected]>2025-07-13 17:29:37 +0000
committerIlpo Järvinen <[email protected]>2025-07-22 14:38:58 +0000
commit147c18d8efaa1fa006fdd0b901d51092dc3b2189 (patch)
tree5884706f7cd1242560e73b8637ba2936f8292e01 /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86/intel/pmt: use guard(mutex) (diff)
downloadkernel-147c18d8efaa1fa006fdd0b901d51092dc3b2189.tar.gz
kernel-147c18d8efaa1fa006fdd0b901d51092dc3b2189.zip
platform/x86/intel/pmt: re-order trigger logic
Setting the clear bit or checking the complete bit before checking to see if crashlog is disabled seems incorrect. Check disable before accessing any other bits. Reviewed-by: Ilpo Järvinen <[email protected]> Reviewed-by: David E. Box <[email protected]> Signed-off-by: Michael J. Ruhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions