scsi: bfa: fix wrongly initialized variable in bfad_im_bsg_els_ct_request()
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 10 Jan 2017 11:54:36 +0000 (12:54 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Jan 2017 19:03:32 +0000 (14:03 -0500)
commit4633773799940b1b8b3ff98ea05e6c1ef072febd
treeb6a17dcb53bfb1f9ab58b6424dcbffae589ba0ab
parent9373eba6cfae48911b977d14323032cd5d161aae
scsi: bfa: fix wrongly initialized variable in bfad_im_bsg_els_ct_request()

Commit 01e0e15c8b3b ("scsi: don't use fc_bsg_job::request and
fc_bsg_job::reply directly") introduced a typo, which causes that the
bsg_request variable in bfad_im_bsg_els_ct_request() is initialized to
itself instead of pointing to the bsg job's request.

Reported-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfad_bsg.c