udmabuf: use pgoff_t for pagecount
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2018 13:42:06 +0000 (15:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Sep 2018 06:21:28 +0000 (08:21 +0200)
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-4-kraxel@redhat.com
drivers/dma-buf/udmabuf.c

index 0d03367c570a6f7e48f15cf8f2e60982aa72de0e..d99a9b59d350cef8a79a5a081e689080f00a0161 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/udmabuf.h>
 
 struct udmabuf {
-       u32 pagecount;
+       pgoff_t pagecount;
        struct page **pages;
 };