]> www.infradead.org Git - linux-platform-drivers-x86.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:05:51 +0000 (21:05 +0100)
commitd4dc4bf28263f25e0907072ce163dd454c6aa51a
tree4f6e3cac597ccab27a00ec70a9e0fbf9c69139c5
parent501bb68a66cfc0bc2a2458483400cb49daca974f
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: 5ef9998c96b0 ("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