]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_pmt_crashlog: Fix incorrect macros
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 17 Mar 2021 02:44:55 +0000 (19:44 -0700)
committerHans de Goede <hdegoede@redhat.com>
Tue, 23 Mar 2021 20:50:02 +0000 (21:50 +0100)
commit633bebeb12ab4d567d30f51ec3afd3ad7071a03f
tree638d3b12048389d1e65114844dc2fbb5166e80ca
parenta0e8413d3fcf99343f10e461dcf84015316582d0
platform/x86: intel_pmt_crashlog: Fix incorrect macros

Fixes off-by-one bugs in the macro assignments for the crashlog control
bits. Was initially tested on emulation but bug revealed after testing on
silicon.

Fixes: 39536b4b8241 ("platform/x86: Intel PMT Crashlog capability driver")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Link: https://lore.kernel.org/r/20210317024455.3071477-2-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_pmt_crashlog.c