]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: pagewalk: add back missing variable initializations
authorRolf Eike Beer <eb@emlix.com>
Wed, 24 Aug 2022 11:00:11 +0000 (13:00 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:03:24 +0000 (22:03 -0700)
commit3f092c2bf6048c47efb1168a3d7c2914f9d98057
treea60a6a11def259e32c770a3119bf62af73e22a18
parente69fb82f6d731d310b25adb690809559126fb501
mm: pagewalk: add back missing variable initializations

These initializations accidentially got lost during refactoring.

The first one can't actually be used without initialization, because
walk_p4d_range() is only called when one of the 4 callbacks is set, but relying
on this seems fragile.

Link: https://lkml.kernel.org/r/2123960.ggj6I0NvhH@mobilepool36.emlix.com
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/pagewalk.c