aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <[email protected]>2018-09-11 15:42:06 +0200
committerGerd Hoffmann <[email protected]>2018-09-12 08:21:28 +0200
commitb35f57c43705a7cc910e8fefd890706986760643 (patch)
treeb99666809b1704c55db922e366c432dc0dd59289
parenta3e722dad03ee75b9e16a8945528ee43fe5ca9ac (diff)
udmabuf: use pgoff_t for pagecount
Reported-by: Laurent Pinchart <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
-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;
};