]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/edac/edac_pci.c
Merge branch 'x86/urgent' into x86/setup
[mirror_ubuntu-bionic-kernel.git] / drivers / edac / edac_pci.c
index 5b150aea703a3fb89b8fb0af40d3f29f5dd01a58..30b585b1d60bdcf50b433a93d948cc6b30e88f0c 100644 (file)
@@ -233,7 +233,7 @@ EXPORT_SYMBOL_GPL(edac_pci_find);
  */
 static void edac_pci_workq_function(struct work_struct *work_req)
 {
-       struct delayed_work *d_work = (struct delayed_work *)work_req;
+       struct delayed_work *d_work = to_delayed_work(work_req);
        struct edac_pci_ctl_info *pci = to_edac_pci_ctl_work(d_work);
        int msec;
        unsigned long delay;