aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/erofs/data.c
diff options
context:
space:
mode:
authorLeon Imhof <leon.imhof@in.tum.de>2018-08-13 17:20:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-27 19:46:17 +0200
commit89fcd8360e7b3eafe6fe58102fa3cef8bde00b60 (patch)
tree6655ee05ffe3c0aba3fe86cff552c3bcdfdfb4f5 /drivers/staging/erofs/data.c
parenteed276c0401d80b108f5aec018cae7e14b32bc9b (diff)
staging: erofs: change 'unsigned' to 'unsigned int'
Fix coding style issue "Prefer 'unsigned int' to bare use of 'unsigned'" detected by checkpatch.pl Signed-off-by: Leon Imhof <leon.imhof@in.tum.de> Reviewed-by: Gao Xiang <gaoxiang25@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/erofs/data.c')
-rw-r--r--drivers/staging/erofs/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/erofs/data.c b/drivers/staging/erofs/data.c
index 9c85ccb24402..3c0d9159514e 100644
--- a/drivers/staging/erofs/data.c
+++ b/drivers/staging/erofs/data.c
@@ -363,7 +363,7 @@ static int erofs_raw_access_readpage(struct file *file, struct page *page)
static int erofs_raw_access_readpages(struct file *filp,
struct address_space *mapping,
- struct list_head *pages, unsigned nr_pages)
+ struct list_head *pages, unsigned int nr_pages)
{
erofs_off_t last_block;
struct bio *bio = NULL;