From: Nicholas Bellinger Date: Thu, 12 Dec 2013 00:20:13 +0000 (-0800) Subject: iser-target: Move INIT_WORK setup into isert_create_device_ib_res X-Git-Tag: v3.13-rc5~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2853c2b6671509591be09213954d7249ca6ff224;p=pandora-kernel.git iser-target: Move INIT_WORK setup into isert_create_device_ib_res 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 Cc: #3.12+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed