]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: erofs: change 'unsigned' to 'unsigned int'
authorLeon Imhof <leon.imhof@in.tum.de>
Mon, 13 Aug 2018 15:20:11 +0000 (17:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:46:17 +0000 (19:46 +0200)
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>
drivers/staging/erofs/data.c

index 9c85ccb24402f59acb2ae08bb9de3fd7f59b1f23..3c0d9159514eeb46912ac2adf1ec07a67b6a93ef 100644 (file)
@@ -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;