diff options
Diffstat (limited to 'drivers/net/mlx4/en_rx.c')
-rw-r--r-- | drivers/net/mlx4/en_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c index a4130e764991..7e40741fb7d8 100644 --- a/drivers/net/mlx4/en_rx.c +++ b/drivers/net/mlx4/en_rx.c | |||
@@ -298,7 +298,7 @@ static void mlx4_en_free_rx_buf(struct mlx4_en_priv *priv, | |||
298 | 298 | ||
299 | void mlx4_en_rx_refill(struct work_struct *work) | 299 | void mlx4_en_rx_refill(struct work_struct *work) |
300 | { | 300 | { |
301 | struct delayed_work *delay = container_of(work, struct delayed_work, work); | 301 | struct delayed_work *delay = to_delayed_work(work); |
302 | struct mlx4_en_priv *priv = container_of(delay, struct mlx4_en_priv, | 302 | struct mlx4_en_priv *priv = container_of(delay, struct mlx4_en_priv, |
303 | refill_task); | 303 | refill_task); |
304 | struct mlx4_en_dev *mdev = priv->mdev; | 304 | struct mlx4_en_dev *mdev = priv->mdev; |