summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-07-20 07:07:34 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-20 18:34:21 (GMT)
commit2962846d14769e526b5d266f4af998b5a027b1d7 (patch)
tree6ccd195cd39b6cbec2ed8f25e38f28ff98fdecf3 /scripts
parentd6dfc868bcf329392abd1ecfa7357eb51ebf8c30 (diff)
downloadlinux-fsl-qoriq-2962846d14769e526b5d266f4af998b5a027b1d7.tar.xz
target: NULL dereference on error path
During a failure in transport_add_device_to_core_hba() code, we called destroy_workqueue(dev->tmr_wq) before ->tmr_wq was allocated which leads to an oops. This fixes a regression introduced in with: commit af8772926f019b7bddd7477b8de5f3b0f12bad21 Author: Christoph Hellwig <hch@infradead.org> Date: Sun Jul 8 15:58:49 2012 -0400 target: replace the processing thread with a TMR work queue Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions