]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc.c: __perform_reclaim should return 'unsigned long'
authorYanfei Xu <yanfei.xu@windriver.com>
Tue, 13 Oct 2020 23:55:54 +0000 (16:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:33 +0000 (18:38 -0700)
commit16dbf5aac01bab895c9cd1ffbd6f82c04b98ee55
treeeb52b358c40c83a41a57bed0b04266c3f1d2b5bc
parentc31f3b86e830494b11865de6c7ea7981563e6f53
mm/page_alloc.c: __perform_reclaim should return 'unsigned long'

__perform_reclaim()'s single caller expects it to return 'unsigned long',
hence change its return value and a local variable to 'unsigned long'.

Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200916022138.16740-1-yanfei.xu@windriver.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c