diff options
Diffstat (limited to 'drivers/block/aoe/aoecmd.c')
| -rw-r--r-- | drivers/block/aoe/aoecmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index dc43254e05a4..55ab25f79a08 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c | |||
| @@ -744,7 +744,7 @@ count_targets(struct aoedev *d, int *untainted) | |||
| 744 | } | 744 | } |
| 745 | 745 | ||
| 746 | static void | 746 | static void |
| 747 | rexmit_timer(ulong vp) | 747 | rexmit_timer(struct timer_list *timer) |
| 748 | { | 748 | { |
| 749 | struct aoedev *d; | 749 | struct aoedev *d; |
| 750 | struct aoetgt *t; | 750 | struct aoetgt *t; |
| @@ -758,7 +758,7 @@ rexmit_timer(ulong vp) | |||
| 758 | int utgts; /* number of aoetgt descriptors (not slots) */ | 758 | int utgts; /* number of aoetgt descriptors (not slots) */ |
| 759 | int since; | 759 | int since; |
| 760 | 760 | ||
| 761 | d = (struct aoedev *) vp; | 761 | d = from_timer(d, timer, timer); |
| 762 | 762 | ||
| 763 | spin_lock_irqsave(&d->lock, flags); | 763 | spin_lock_irqsave(&d->lock, flags); |
| 764 | 764 | ||
| @@ -1429,7 +1429,7 @@ aoecmd_ata_id(struct aoedev *d) | |||
| 1429 | 1429 | ||
| 1430 | d->rttavg = RTTAVG_INIT; | 1430 | d->rttavg = RTTAVG_INIT; |
| 1431 | d->rttdev = RTTDEV_INIT; | 1431 | d->rttdev = RTTDEV_INIT; |
| 1432 | d->timer.function = rexmit_timer; | 1432 | d->timer.function = (TIMER_FUNC_TYPE)rexmit_timer; |
| 1433 | 1433 | ||
| 1434 | skb = skb_clone(skb, GFP_ATOMIC); | 1434 | skb = skb_clone(skb, GFP_ATOMIC); |
| 1435 | if (skb) { | 1435 | if (skb) { |
