diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2019-08-08 20:01:50 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-12 21:34:07 -0400 |
| commit | f91ff36a5731ca41f9009a00bf9f9b8e6c623dae (patch) | |
| tree | 066885a7401ecf685ad6aececa16482734852bfa /tools/perf/scripts/python | |
| parent | scsi: qla2xxx: Remove unreachable code from qla83xx_idc_lock() (diff) | |
| download | linux-f91ff36a5731ca41f9009a00bf9f9b8e6c623dae.tar.gz linux-f91ff36a5731ca41f9009a00bf9f9b8e6c623dae.zip | |
scsi: qla2xxx: Suppress a Coveritiy complaint about integer overflow
This patch fixes the following Coverity complaint:
Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)
overflow_before_widen: Potentially overflowing expression dma_eng_num *
65536U with type unsigned int (32 bits, unsigned) is evaluated using 32-bit
arithmetic, and then used in a context that expects an expression of type
uint64_t (64 bits, unsigned).
Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
