projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb23d0
)
RDMA/irdma: Fix the type used to declare a bitmap
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sat, 4 Dec 2021 19:51:34 +0000
(20:51 +0100)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Mon, 6 Dec 2021 23:55:19 +0000
(19:55 -0400)
'bitmapbuf' is really used as a bitmap, so it should be defined as a
'unsigned long *' to be more consistent with the bitmap API.
Link:
https://lore.kernel.org/r/574b773fe7ced0cc87f1e1832350b38374815bd4.1638647428.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/pble.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/irdma/pble.h
b/drivers/infiniband/hw/irdma/pble.h
index e1b3b8118a2ca4cd2d348f6c0c4414ddc2b95ca4..faf71c99e12e4e9d54dced5348e047a55616258a 100644
(file)
--- 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;