浏览代码

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
Gerd Hoffmann 7 年之前
父节点
当前提交
b35f57c437
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/dma-buf/udmabuf.c

+ 1 - 1
drivers/dma-buf/udmabuf.c

@@ -13,7 +13,7 @@
 #include <linux/udmabuf.h>
 
 struct udmabuf {
-	u32 pagecount;
+	pgoff_t pagecount;
 	struct page **pages;
 };