mbox series

[0/1] mpt3sas: Fix return value check of dma_get_required_mask

Message ID 20220913120538.18759-1-sreekanth.reddy@broadcom.com
Headers show
Series mpt3sas: Fix return value check of dma_get_required_mask | expand

Message

Sreekanth Reddy Sept. 13, 2022, 12:05 p.m. UTC
Fix the incorrect return value check of dma_get_required_mask().
Due to this incorrect check, the driver was always setting the
dma mask to 63 bit. 

Sreekanth Reddy (1):
  mpt3sas: Fix return value check of dma_get_required_mask

 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen Sept. 16, 2022, 3:01 a.m. UTC | #1
On Tue, 13 Sep 2022 17:35:37 +0530, Sreekanth Reddy wrote:

> Fix the incorrect return value check of dma_get_required_mask().
> Due to this incorrect check, the driver was always setting the
> dma mask to 63 bit.
> 
> Sreekanth Reddy (1):
>   mpt3sas: Fix return value check of dma_get_required_mask
> 
> [...]

Applied to 6.0/scsi-fixes, thanks!

[1/1] mpt3sas: Fix return value check of dma_get_required_mask
      https://git.kernel.org/mkp/scsi/c/e0e0747de0ea