aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Fourier <fourier.thomas@gmail.com>2025-07-25 10:31:06 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2025-08-19 22:30:57 -0400
commitedb35b1ffc686fd9b5a91902f034eb9f4d2c9f6b (patch)
tree5b577f41c0b27015efebebda2238f5886f6b8bf5 /tools/perf/scripts/python
parentscsi: lpfc: use min() to improve code (diff)
downloadlinux-edb35b1ffc686fd9b5a91902f034eb9f4d2c9f6b.tar.gz
linux-edb35b1ffc686fd9b5a91902f034eb9f4d2c9f6b.zip
scsi: myrs: Fix dma_alloc_coherent() error check
Check for NULL return value with dma_alloc_coherent(), because DMA address is not always set by dma_alloc_coherent() on failure. Fixes: 77266186397c ("scsi: myrs: Add Mylex RAID controller (SCSI interface)") Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com> Link: https://lore.kernel.org/r/20250725083112.43975-2-fourier.thomas@gmail.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