mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
page-types: unsigned cannot be less than 0 in add_page()
If not signed, testing of the read() return value in this function will not work. Signed-off-by: Roel Kluin <[email protected]> Cc: Wu Fengguang <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3428838d8e
commit
f1327bf18c
1 changed files with 1 additions and 1 deletions
|
|
@ -560,7 +560,7 @@ static void walk_pfn(unsigned long voffset,
|
|||
{
|
||||
uint64_t buf[KPAGEFLAGS_BATCH];
|
||||
unsigned long batch;
|
||||
unsigned long pages;
|
||||
long pages;
|
||||
unsigned long i;
|
||||
|
||||
while (count) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue