]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net: ntb_netdev: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 30 Oct 2017 21:05:12 +0000 (14:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 03:38:45 +0000 (12:38 +0900)
commitb36a37aa53921a4d91846f39f8f94a4f56aa5e8f
treea7ad7a1cd7e22685e96d388d50f5a28b1a191616
parentf4259391e5d5b423122e43070df28830e8b15978
drivers/net: ntb_netdev: 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: Jon Mason <jdmason@kudzu.us>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Allen Hubbe <Allen.Hubbe@emc.com>
Cc: linux-ntb@googlegroups.com
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ntb_netdev.c