Skip to contentSkip to conversation

cxl: Fix spelling typo in asynchronous event string

PATCH In review Praveen Rajendran 3 participants 3 messages Jul 3 – Jul 6 CXL

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxl: Fix spelling typo in asynchronous event string

Correct a user-facing spelling mistake in the CXL memory error logging macro array where "occurred" was misspelled as "occured".

---
 drivers/cxl/cxlmem.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cxl/cxlmem.h +1 -1
index ed419d0c59f2..503ae2864591 100644
@@ -183,7 +183,7 @@ static inline struct cxl_ep *cxl_ep_load(struct cxl_port *port,
 	C(MBUNSUPPORTED, -ENXIO, "unsupported on the mailbox it was issued on"),\
 	C(PAYLOADLEN, -ENXIO, "invalid payload length"),			\
 	C(LOG, -ENXIO, "invalid or unsupported log page"),			\
-	C(INTERRUPTED, -ENXIO, "asynchronous event occured"),			\
+	C(INTERRUPTED, -ENXIO, "asynchronous event occurred"),			\
 	C(FEATUREVERSION, -ENXIO, "unsupported feature version"),		\
 	C(FEATURESELVALUE, -ENXIO, "unsupported feature selection value"),	\
 	C(FEATURETRANSFERIP, -ENXIO, "feature transfer in progress"),		\
Signature · 1 line
2.50.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 25 lines · Praveen Rajendran

Correct a user-facing spelling mistake in the CXL memory error logging macro array where "occurred" was misspelled as "occured".

---
 drivers/cxl/cxlmem.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cxl/cxlmem.h +1 -1
index ed419d0c59f2..503ae2864591 100644
@@ -183,7 +183,7 @@ static inline struct cxl_ep *cxl_ep_load(struct cxl_port *port,
 	C(MBUNSUPPORTED, -ENXIO, "unsupported on the mailbox it was issued on"),\
 	C(PAYLOADLEN, -ENXIO, "invalid payload length"),			\
 	C(LOG, -ENXIO, "invalid or unsupported log page"),			\
-	C(INTERRUPTED, -ENXIO, "asynchronous event occured"),			\
+	C(INTERRUPTED, -ENXIO, "asynchronous event occurred"),			\
 	C(FEATUREVERSION, -ENXIO, "unsupported feature version"),		\
 	C(FEATURESELVALUE, -ENXIO, "unsupported feature selection value"),	\
 	C(FEATURETRANSFERIP, -ENXIO, "feature transfer in progress"),		\
Signature · 1 line
2.50.1

Best regards,
Richard Cheng.

maintainer
#2 lore raw
In reply to Praveen Rajendran
Quoted 4 lines · Praveen Rajendran

Correct a user-facing spelling mistake in the CXL memory error logging macro array where "occurred" was misspelled as "occured".

Hi Praveen, this is a duplicate [1] that was already applied to cxl/next.

[1]: https://lore.kernel.org/linux-cxl/[email protected]/

Quoted 17 lines
---
 drivers/cxl/cxlmem.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cxl/cxlmem.h +1 -1
index ed419d0c59f2..503ae2864591 100644
@@ -183,7 +183,7 @@ static inline struct cxl_ep *cxl_ep_load(struct cxl_port *port,
 	C(MBUNSUPPORTED, -ENXIO, "unsupported on the mailbox it was issued on"),\
 	C(PAYLOADLEN, -ENXIO, "invalid payload length"),			\
 	C(LOG, -ENXIO, "invalid or unsupported log page"),			\
-	C(INTERRUPTED, -ENXIO, "asynchronous event occured"),			\
+	C(INTERRUPTED, -ENXIO, "asynchronous event occurred"),			\
 	C(FEATUREVERSION, -ENXIO, "unsupported feature version"),		\
 	C(FEATURESELVALUE, -ENXIO, "unsupported feature selection value"),	\
 	C(FEATURETRANSFERIP, -ENXIO, "feature transfer in progress"),		\