]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libiscsi: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Wed, 11 Oct 2017 23:25:40 +0000 (16:25 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 27 Oct 2017 09:22:00 +0000 (02:22 -0700)
commite680acb64a86ee192f715f4cf0a5c0cc080fbd16
treeac26c87d36f52b00a79352e4a9512eaac0a63c1e
parentde553ffc341f9d60f8cff54408423c9f7ca47c02
scsi: libiscsi: 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: Lee Duncan <lduncan@suse.com>
Cc: Chris Leech <cleech@redhat.com>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: open-iscsi@googlegroups.com
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Chris Leech <cleech@redhat.com>
drivers/scsi/libiscsi.c