Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iscsi-scst: Suppress a Coverity taint complaint
Suppress the following (false positive) Coverity complaint: CID 271578 (#1 of 1): Dereference after null check (FORWARD_NULL) var_deref_model: Passing null pointer (*ref_cmd).scst_cmd to scst_set_delivery_status, which dereferences it (*ref_cmd).scst_aen is set when (*ref_cmd).scst_state == ISCSI_CMD_STATE_AEN and vice versa, so the Coverity complaint is a false positive. Hence rewrite the code to suppress this complaint and make the code cleaner.
- Loading branch information