[PATCH 03/10] udmabuf: use pgoff_t for pagecount
Gerd Hoffmann
kraxel at redhat.com
Tue Sep 11 06:59:14 UTC 2018
Reported-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
drivers/dma-buf/udmabuf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index 19bd918209..ec22f203b5 100644
--- a/drivers/dma-buf/udmabuf.c
+++ b/drivers/dma-buf/udmabuf.c
@@ -13,7 +13,7 @@
#include <linux/udmabuf.h>
struct udmabuf {
- u32 pagecount;
+ pgoff_t pagecount;
struct page **pages;
};
--
2.9.3
More information about the dri-devel
mailing list