Re: [PATCH] mpt3sas: fix dma_addr_t casts
From: Martin K. Petersen
Date: Mon Nov 06 2017 - 23:03:37 EST
Arnd,
> After taking a closer look, I found that the problem is that the new
> code mixes up pointers and dma_addr_t values unnecessarily.
>
> This changes it to use the correct types consistently, which lets us
> get rid of a lot of type casts in the process. I'm also renaming some
> variables to avoid confusion between physical and dma address spaces
> that are often distinct.
Nice work! Applied to 4.15/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering