RE: [PATCH v3] EDAC/mc: Convert the poll period to jiffies when it is changed
From: Qiuxu (Leo) Zhuo
Date: Mon Nov 23 2026 - 21:03:27 EST
> From: Ahmed Abdelfattah via B4 Relay
> [...]
> diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index
> eceef5539186..762a331a5708 100644
> --- a/drivers/edac/edac_module.h
> +++ b/drivers/edac/edac_module.h
> @@ -48,12 +48,12 @@ extern void edac_device_remove_sysfs(struct
> edac_device_ctl_info *edac_dev);
> /* edac core workqueue: single CPU mode */ int edac_workqueue_setup(void);
> void edac_workqueue_teardown(void); -bool edac_queue_work(struct
> delayed_work *work, unsigned long delay);
> +bool edac_queue_work(struct delayed_work *work, unsigned long jiffies);
How about using delay_jiffies instead of jiffies?
This would avoid shadowing the global 'jiffies' and the associated W=2 warning.
The same applies to both the declarations and definitions.
Otherwise, this looks good to me.
Reviewed-by: Qiuxu Zhuo <qzhuo@xxxxxxxxxx>