From b35f57c43705a7cc910e8fefd890706986760643 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 11 Sep 2018 15:42:06 +0200 Subject: udmabuf: use pgoff_t for pagecount Reported-by: Laurent Pinchart Signed-off-by: Gerd Hoffmann Acked-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-4-kraxel@redhat.com --- drivers/dma-buf/udmabuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/dma-buf') 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 struct udmabuf { - u32 pagecount; + pgoff_t pagecount; struct page **pages; }; -- cgit v1.2.1