]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Thu, 5 Oct 2017 00:51:54 +0000 (17:51 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 9 Oct 2017 16:19:41 +0000 (12:19 -0400)
commit77cc100a746cf945c7b002ef4a68272b6ed3c6ea
tree23e79c9148a14d413095367510f41618cf579b8c
parentf4872e0c40e3a0cbe16d688c0508df525c9d1bd3
net/mlx4_core: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.

Cc: Tariq Toukan <tariqt@mellanox.com>
Cc: netdev@vger.kernel.org
Cc: linux-rdma@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx4/catas.c