diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-03-20 16:23:56 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-24 21:47:20 -0400 |
commit | 17603237f789cfb135fd8e01a7edca27a46a6f6e (patch) | |
tree | e79cf3d84ad6c274be62013ba0fb02b12a80d472 /drivers/scsi/qla2xxx/qla_nvme.c | |
parent | 37ce4f3531d4a38f3f598fab45d80be5b46aee3c (diff) |
scsi: qla2xxx: Suppress Coverity complaints about dseg_r*
Change dseq_rq and dseg_rsp from scalar structure members into
single-element arrays such that Coverity does not complain about the
(*cur_dsd)++ statement in append_dsd64().
Link: https://lore.kernel.org/r/20210320232359.941-5-bvanassche@acm.org
Cc: Quinn Tran <qutran@marvell.com>
Cc: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_nvme.c')
0 files changed, 0 insertions, 0 deletions