]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/scsi/lpfc/lpfc_ct.c
scsi: lpfc: Convert timers to use timer_setup()
[mirror_ubuntu-bionic-kernel.git] / drivers / scsi / lpfc / lpfc_ct.c
index 33417681f5d40784ffc15517f1ed137f2c6f23e3..f77673ab4a8445b8a3ec34816c21727c1b0804f1 100644 (file)
@@ -2884,9 +2884,9 @@ fdmi_cmd_exit:
  * the worker thread.
  **/
 void
-lpfc_delayed_disc_tmo(unsigned long ptr)
+lpfc_delayed_disc_tmo(struct timer_list *t)
 {
-       struct lpfc_vport *vport = (struct lpfc_vport *)ptr;
+       struct lpfc_vport *vport = from_timer(vport, t, delayed_disc_tmo);
        struct lpfc_hba   *phba = vport->phba;
        uint32_t tmo_posted;
        unsigned long iflag;