scsi: megaraid: Convert timers to use timer_setup()
authorKees Cook <[email protected]>
Sun, 22 Oct 2017 22:30:04 +0000 (15:30 -0700)
committerKees Cook <[email protected]>
Wed, 1 Nov 2017 18:27:08 +0000 (11:27 -0700)
commitc251a7be46b0ee64d02b321081e24ea51fae2cfe
tree4e740714f59d9e2de54fe08bd874d73504dcc3b3
parentf22eb4d31c21ac2be001fa7bcd079e2d7d02a8f1
scsi: megaraid: 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. Also consolidates the timer setup
functions arguments, which are all identical, and corrects on-stack timer
usage.

Cc: Kashyap Desai <[email protected]>
Cc: Sumit Saxena <[email protected]>
Cc: Shivasharan S <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
drivers/scsi/megaraid/megaraid_ioctl.h
drivers/scsi/megaraid/megaraid_mbox.c
drivers/scsi/megaraid/megaraid_mm.c
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/megaraid/megaraid_sas_fusion.c