projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27cce7b
)
staging: erofs: fix a compile warning of Z_EROFS_VLE_VMAP_ONSTACK_PAGES
author
Gao Xiang
<
[email protected]
>
Sat, 28 Jul 2018 07:10:32 +0000
(15:10 +0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 28 Jul 2018 07:21:30 +0000
(09:21 +0200)
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 <
[email protected]
>
Signed-off-by: Gao Xiang <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/erofs/unzip_vle.h
patch
|
blob
|
history
diff --git
a/drivers/staging/erofs/unzip_vle.h
b/drivers/staging/erofs/unzip_vle.h
index 3521dfb319068c1bf8afce80bb3ae09f583cae94..39399850086521e95ef03c9f5a49c9e39a072ecc 100644
(file)
--- 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)
}
#define Z_EROFS_VLE_VMAP_ONSTACK_PAGES \
- min
(THREAD_SIZE / 8 / sizeof(struct page *), 96UL
)
+ min
_t(unsigned int, THREAD_SIZE / 8 / sizeof(struct page *), 96U
)
#define Z_EROFS_VLE_VMAP_GLOBAL_PAGES 2048
/* unzip_vle_lz4.c */