summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorThomas Fourier <fourier.thomas@gmail.com>2025-07-25 11:31:06 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-08-20 05:30:57 +0300
commitedb35b1ffc686fd9b5a91902f034eb9f4d2c9f6b (patch)
tree5b577f41c0b27015efebebda2238f5886f6b8bf5 /tools/testing/selftests/net/lib/py/utils.py
parente79aa10e288c617c12ac4eb3fe7962f5c644b8fe (diff)
downloadlinux-edb35b1ffc686fd9b5a91902f034eb9f4d2c9f6b.tar.xz
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/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions