scsi: libfc: fix incorrect variable assignment
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 11 May 2017 22:24:44 +0000 (17:24 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 May 2017 01:08:42 +0000 (21:08 -0400)
commitdd6e1f71b785a6ac2511e2ddb86315f292873e59
treebec943b26820ac242036b859576a885bf57b6afc
parent4fa8324461b824eaea9b6695464395710fe20c44
scsi: libfc: fix incorrect variable assignment

Previous assignment was causing the use of the uninitialized variable
_explan_ inside fc_seq_ls_rjt() function, which in this particular case
is being called by fc_seq_els_rsp_send().

[mkp: fixed typo]

Addresses-Coverity-ID: 1398125
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c