Arnd Bergmann 5244ca8867 RDMA/siw: Fix pointer cast warning
The previous build fix left a remaining issue in configurations with
64-bit dma_addr_t on 32-bit architectures:

drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_get_pblpage':
drivers/infiniband/sw/siw/siw_qp_tx.c:32:37: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
   32 |                 return virt_to_page((void *)paddr);
      |                                     ^

Use the same double cast here that the driver uses elsewhere to convert
between dma_addr_t and void*.

Fixes: 0d1b756acf60 ("RDMA/siw: Pass a pointer to virt_to_page()")
Link: https://lore.kernel.org/r/20221215170347.2612403-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-12-16 16:07:38 -04:00
..
2022-10-12 10:23:24 -07:00
2022-11-25 17:50:57 -08:00
2022-11-04 16:03:43 -07:00
2022-12-02 15:35:21 -08:00
2022-11-11 09:03:19 -08:00
2022-09-21 20:33:49 +02:00
2022-12-04 12:18:37 -08:00
2022-10-12 10:23:24 -07:00
2022-10-09 14:05:15 -07:00
2022-11-18 13:59:45 -08:00
2022-12-09 15:52:17 -04:00
2022-10-14 18:41:41 -07:00
2022-12-02 16:27:15 -08:00
2022-10-14 12:38:03 -07:00
2022-11-16 10:36:13 -08:00
2022-10-10 09:10:28 -07:00
2022-10-07 11:32:10 -07:00
2022-11-25 13:54:48 -08:00
2022-11-25 17:50:57 -08:00
2022-11-25 12:32:42 -08:00
2022-11-23 11:19:06 -08:00
2022-11-18 12:02:38 -08:00
2022-11-18 10:59:52 -08:00
2022-10-22 03:29:32 +00:00
2022-10-10 14:02:53 -07:00
2022-10-10 14:02:53 -07:00
2022-11-01 12:21:53 -07:00
2022-11-16 10:49:06 -08:00