]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/block/aoe/aoecmd.c
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
[mirror_ubuntu-bionic-kernel.git] / drivers / block / aoe / aoecmd.c
index dc43254e05a4bd4030e5a7a0cbb34d749b3f8365..812fed069708f181c4b16ce972e0919c4541a803 100644 (file)
@@ -744,7 +744,7 @@ count_targets(struct aoedev *d, int *untainted)
 }
 
 static void
-rexmit_timer(ulong vp)
+rexmit_timer(struct timer_list *timer)
 {
        struct aoedev *d;
        struct aoetgt *t;
@@ -758,7 +758,7 @@ rexmit_timer(ulong vp)
        int utgts;      /* number of aoetgt descriptors (not slots) */
        int since;
 
-       d = (struct aoedev *) vp;
+       d = from_timer(d, timer, timer);
 
        spin_lock_irqsave(&d->lock, flags);