Files
linux-stable-mirror/drivers/scsi
Thomas FourierandGreg Kroah-Hartman f97f08b935 scsi: myrs: Fix dma_alloc_coherent() error check
[ Upstream commit edb35b1ffc ]

Check for NULL return value with dma_alloc_coherent(), because DMA
address is not always set by dma_alloc_coherent() on failure.

Fixes: 7726618639 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-15 11:57:56 +02:00
..
2025-08-28 16:28:26 +02:00
2025-05-02 07:50:48 +02:00