Re: [PATCH next] siw: Fix pointer-to-int-cast warning in siw_rx_pbl()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 10, 2020 at 12:47:17PM -0500, Tom Seewald wrote:
> The variable buf_addr is type dma_addr_t, which may not be the same size
> as a pointer.  To ensure it is the correct size, cast to a uintptr_t.
> 
> Signed-off-by: Tom Seewald <tseewald@xxxxxxxxx>
> Reviewed-by: Bernard Metzler <bmt@xxxxxxxxxxxxxx>
>  drivers/infiniband/sw/siw/siw_qp_rx.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to for-rc, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux