commit | eb045e046d5b2aab7710f82c2e5fb1403c69332b | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | Mon May 22 13:00:29 2017 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 12 20:48:05 2017 -0400 |
tree | 7c4bf94d647baae92c84dab806f5bc1033848c60 | |
parent | 5c146686e32085e76ad9e2957f3dee9b28fe4f22 [diff] |
scsi: hisi_sas: add null check before indirect pointer dereference Add null check before indirectly dereferencing pointer task->lldd_task in statement u32 tag = slot->idx; Addresses-Coverity-ID: 1373843 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>