From: Gerd Hoffmann Date: Tue, 11 Sep 2018 13:42:06 +0000 (+0200) Subject: udmabuf: use pgoff_t for pagecount X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b35f57c43705a7cc910e8fefd890706986760643;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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; };