diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-11 15:42:06 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-12 08:21:28 +0200 |
commit | b35f57c43705a7cc910e8fefd890706986760643 (patch) | |
tree | b99666809b1704c55db922e366c432dc0dd59289 /drivers/dma-buf | |
parent | udmabuf: improve map_udmabuf error handling (diff) | |
download | linux-b35f57c43705a7cc910e8fefd890706986760643.tar.xz linux-b35f57c43705a7cc910e8fefd890706986760643.zip |
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.c | 2 |
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; }; |