Re: [PATCH v4 1/2] acpi/ghes: Process CXL Component Events

From: Ira Weiny
Date: Wed May 01 2024 - 13:28:09 EST


Ira Weiny wrote:
> +static inline int cxl_cper_register_work(struct work_struct *work);
> +{
> + return 0;
> +}
> +
> +static inline int cxl_cper_unregister_work(struct work_struct *work);

0-day just reported my copy paste error.

Dave, can you squash this?

Ira

10:21:51 > git di
diff --git a/include/linux/cxl-event.h b/include/linux/cxl-event.h
index 9a12b1bd00e6..073195d21b27 100644
--- a/include/linux/cxl-event.h
+++ b/include/linux/cxl-event.h
@@ -154,12 +154,12 @@ int cxl_cper_register_work(struct work_struct *work);
int cxl_cper_unregister_work(struct work_struct *work);
int cxl_cper_kfifo_get(struct cxl_cper_work_data *wd);
#else
-static inline int cxl_cper_register_work(struct work_struct *work);
+static inline int cxl_cper_register_work(struct work_struct *work)
{
return 0;
}

-static inline int cxl_cper_unregister_work(struct work_struct *work);
+static inline int cxl_cper_unregister_work(struct work_struct *work)
{
return 0;
}