summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-16 17:29:34 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-18 12:40:26 +0100
commitd039ef68e94eae81c13b0b39a18f0c3455491e4c (patch)
treed8fc0d5a71e27dcc9495280d57f54c59dff6d718 /virt
parente84a2ac9ffa9b1ba211c8982f07cd92f60239c3e (diff)
downloadop-kernel-dev-d039ef68e94eae81c13b0b39a18f0c3455491e4c.zip
op-kernel-dev-d039ef68e94eae81c13b0b39a18f0c3455491e4c.tar.gz
net: hns: 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. Switches test of .data field to .function, since .data will be going away. Cc: Yisen Zhuang <yisen.zhuang@huawei.com> Cc: Salil Mehta <salil.mehta@huawei.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: lipeng <lipeng321@huawei.com> Cc: Lin Yun Sheng <linyunsheng@huawei.com> Cc: Kejian Yan <yankejian@huawei.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: netdev@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud