summaryrefslogtreecommitdiff
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-09-11 16:42:06 +0300
committerGerd Hoffmann <kraxel@redhat.com>2018-09-12 09:21:28 +0300
commitb35f57c43705a7cc910e8fefd890706986760643 (patch)
treeb99666809b1704c55db922e366c432dc0dd59289 /drivers/dma-buf
parenta3e722dad03ee75b9e16a8945528ee43fe5ca9ac (diff)
downloadlinux-b35f57c43705a7cc910e8fefd890706986760643.tar.xz
udmabuf: use pgoff_t for pagecount
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
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r--drivers/dma-buf/udmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index 0d03367c570a..d99a9b59d350 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;
};