]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
rasdaemon: CXL: Fix uncorrectable macro spelling
authorShiju Jose <shiju.jose@huawei.com>
Tue, 14 May 2024 14:22:42 +0000 (15:22 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 Nov 2024 12:32:52 +0000 (13:32 +0100)
Fix the macro (CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT) spelling .
Uncorrectable is spelled with two r's.

Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
ras-cxl-handler.c

index 037c19ce09dafff424a0ab695485ea1f274581bc..8641e387115f4bee0f7d6b4768dd1f7cfc4e3db9 100644 (file)
@@ -727,12 +727,12 @@ static const struct cxl_event_flags cxl_dpa_flags[] = {
  * General Media Event Record - GMER
  * CXL rev 3.0 Section 8.2.9.2.1.1; Table 8-43
  */
-#define CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT           BIT(0)
+#define CXL_GMER_EVT_DESC_UNCORRECTABLE_EVENT          BIT(0)
 #define CXL_GMER_EVT_DESC_THRESHOLD_EVENT              BIT(1)
 #define CXL_GMER_EVT_DESC_POISON_LIST_OVERFLOW         BIT(2)
 
 static const struct cxl_event_flags cxl_gmer_event_desc_flags[] = {
-       { .bit = CXL_GMER_EVT_DESC_UNCORECTABLE_EVENT, .flag = "UNCORRECTABLE EVENT" },
+       { .bit = CXL_GMER_EVT_DESC_UNCORRECTABLE_EVENT, .flag = "UNCORRECTABLE EVENT" },
        { .bit = CXL_GMER_EVT_DESC_THRESHOLD_EVENT, .flag = "THRESHOLD EVENT" },
        { .bit = CXL_GMER_EVT_DESC_POISON_LIST_OVERFLOW, .flag = "POISON LIST OVERFLOW" },
 };