linux/drivers/scsi/hisi_sas
Kees Cook 77570eedd9 scsi: sas: 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. This requires adding a pointer to
hold the timer's target task, as there isn't a link back from slow_task.

Cc: John Garry <john.garry@huawei.com>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Jack Wang <jinpu.wang@profitbricks.com>
Cc: lindar_liu@usish.com
Cc: Jens Axboe <axboe@fb.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Benjamin Block <bblock@linux.vnet.ibm.com>
Cc: Baoyou Xie <baoyou.xie@linaro.org>
Cc: Wei Yongjun <weiyongjun1@huawei.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: John Garry <john.garry@huawei.com> # for hisi_sas part
Tested-by: John Garry <john.garry@huawei.com> # basic sanity test for hisi_sas
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
2017-11-01 11:43:47 -07:00
..
Kconfig scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
hisi_sas.h scsi: sas: Convert timers to use timer_setup() 2017-11-01 11:43:47 -07:00
hisi_sas_main.c scsi: sas: Convert timers to use timer_setup() 2017-11-01 11:43:47 -07:00
hisi_sas_v1_hw.c scsi: sas: Convert timers to use timer_setup() 2017-11-01 11:43:47 -07:00
hisi_sas_v2_hw.c scsi: sas: Convert timers to use timer_setup() 2017-11-01 11:43:47 -07:00
hisi_sas_v3_hw.c scsi: sas: Convert timers to use timer_setup() 2017-11-01 11:43:47 -07:00