summaryrefslogtreecommitdiffstats
path: root/mm/gup_benchmark.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-06 23:43:42 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-06 23:43:42 +0200
commit72438f8cef4e75a22140853baa4c68392c721b22 (patch)
tree78b7b6dafd827e0d55150a227db3978d91c0b6dd /mm/gup_benchmark.c
parentnet/ncsi: Add NCSI OEM command support (diff)
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-72438f8cef4e75a22140853baa4c68392c721b22.tar.xz
linux-72438f8cef4e75a22140853baa4c68392c721b22.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'mm/gup_benchmark.c')
-rw-r--r--mm/gup_benchmark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/gup_benchmark.c b/mm/gup_benchmark.c
index 6a473709e9b6..7405c9d89d65 100644
--- a/mm/gup_benchmark.c
+++ b/mm/gup_benchmark.c
@@ -19,7 +19,8 @@ static int __gup_benchmark_ioctl(unsigned int cmd,
struct gup_benchmark *gup)
{
ktime_t start_time, end_time;
- unsigned long i, nr, nr_pages, addr, next;
+ unsigned long i, nr_pages, addr, next;
+ int nr;
struct page **pages;
nr_pages = gup->size / PAGE_SIZE;