diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-12-12 00:20:13 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-09 20:25:09 (GMT) |
commit | a7a50a853cbba22cafec1e1c618ccf9919986fca (patch) | |
tree | 5046c98bc05addfedafc4da83c8ea6dfee186b1b /drivers/scsi/gdth.h | |
parent | f0c626f9e435d788e9b8950be22a0b801ec5e5ba (diff) | |
download | linux-fsl-qoriq-a7a50a853cbba22cafec1e1c618ccf9919986fca.tar.xz |
iser-target: Move INIT_WORK setup into isert_create_device_ib_res
commit 2853c2b6671509591be09213954d7249ca6ff224 upstream.
This patch moves INIT_WORK setup for cq_desc->cq_[rx,tx]_work into
isert_create_device_ib_res(), instead of being done each callback
invocation in isert_cq_[rx,tx]_callback().
This also fixes a 'INFO: trying to register non-static key' warning
when cancel_work_sync() is called before INIT_WORK has setup the
struct work_struct.
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/gdth.h')
0 files changed, 0 insertions, 0 deletions