]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory.c: do_numa_page(): delete bool "migrated"
authorWang Qing <wangqing@vivo.com>
Fri, 30 Apr 2021 05:57:07 +0000 (22:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Apr 2021 18:20:38 +0000 (11:20 -0700)
commit8245f5761f2180e30ca2bd441ead515042420e7c
treed50645a7ad72010ac1908a7483a034e9a23de425
parentaa89afb49c71cbf6a7297e602690bdc7b0dc0957
mm/memory.c: do_numa_page(): delete bool "migrated"

Smatch gives the warning:

  do_numa_page() warn: assigning (-11) to unsigned variable 'migrated'

Link: https://lkml.kernel.org/r/1614603421-2681-1-git-send-email-wangqing@vivo.com
Signed-off-by: Wang Qing <wangqing@vivo.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c