diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2018-07-28 03:10:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-28 03:21:30 -0400 |
commit | 81edee7ac83c5782859db4053a866fc0c29f982f (patch) | |
tree | 81dca50175e11693480b39127eaa4290e4c095bb | |
parent | 27cce7bc2f8154f3a3bebcf7f9923cd22477aef8 (diff) |
staging: erofs: fix a compile warning of Z_EROFS_VLE_VMAP_ONSTACK_PAGES
There is a type mismatch in the definition of
Z_EROFS_VLE_VMAP_ONSTACK_PAGES, let's fix it.
Link: https://lists.01.org/pipermail/kbuild-all/2018-July/050707.html
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/erofs/unzip_vle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/erofs/unzip_vle.h b/drivers/staging/erofs/unzip_vle.h index 3521dfb31906..393998500865 100644 --- a/drivers/staging/erofs/unzip_vle.h +++ b/drivers/staging/erofs/unzip_vle.h | |||
@@ -218,7 +218,7 @@ static inline void z_erofs_onlinepage_endio(struct page *page) | |||
218 | } | 218 | } |
219 | 219 | ||
220 | #define Z_EROFS_VLE_VMAP_ONSTACK_PAGES \ | 220 | #define Z_EROFS_VLE_VMAP_ONSTACK_PAGES \ |
221 | min(THREAD_SIZE / 8 / sizeof(struct page *), 96UL) | 221 | min_t(unsigned int, THREAD_SIZE / 8 / sizeof(struct page *), 96U) |
222 | #define Z_EROFS_VLE_VMAP_GLOBAL_PAGES 2048 | 222 | #define Z_EROFS_VLE_VMAP_GLOBAL_PAGES 2048 |
223 | 223 | ||
224 | /* unzip_vle_lz4.c */ | 224 | /* unzip_vle_lz4.c */ |