* [PATCH] RDMA/irdma: Fix the type used to declare a bitmap
@ 2021-12-04 19:51 Christophe JAILLET
2021-12-06 23:55 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2021-12-04 19:51 UTC (permalink / raw)
To: mustafa.ismail, shiraz.saleem, jgg
Cc: linux-rdma, linux-kernel, kernel-janitors, Christophe JAILLET
'bitmapbuf' is really used as a bitmap, so it should be defined as a
'unsigned long *' to be more consistent with the bitmap API.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
drivers/infiniband/hw/irdma/pble.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/irdma/pble.h b/drivers/infiniband/hw/irdma/pble.h
index e1b3b8118a2c..faf71c99e12e 100644
--- a/drivers/infiniband/hw/irdma/pble.h
+++ b/drivers/infiniband/hw/irdma/pble.h
@@ -69,7 +69,7 @@ struct irdma_add_page_info {
struct irdma_chunk {
struct list_head list;
struct irdma_dma_info dmainfo;
- void *bitmapbuf;
+ unsigned long *bitmapbuf;
u32 sizeofbitmap;
u64 size;
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] RDMA/irdma: Fix the type used to declare a bitmap
2021-12-04 19:51 [PATCH] RDMA/irdma: Fix the type used to declare a bitmap Christophe JAILLET
@ 2021-12-06 23:55 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2021-12-06 23:55 UTC (permalink / raw)
To: Christophe JAILLET
Cc: mustafa.ismail, shiraz.saleem, linux-rdma, linux-kernel, kernel-janitors
On Sat, Dec 04, 2021 at 08:51:34PM +0100, Christophe JAILLET wrote:
> 'bitmapbuf' is really used as a bitmap, so it should be defined as a
> 'unsigned long *' to be more consistent with the bitmap API.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
> drivers/infiniband/hw/irdma/pble.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-06 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-04 19:51 [PATCH] RDMA/irdma: Fix the type used to declare a bitmap Christophe JAILLET
2021-12-06 23:55 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).