Revision 6c922cf75115c8b389c091a073209ca45f1af530 authored by Miaohe Lin on 26 February 2021, 01:17:21 UTC, committed by Linus Torvalds on 26 February 2021, 17:41:00 UTC
Commit 108bcc96ef70 ("mm: add & use zone_end_pfn() and zone_spans_pfn()")
introduced the helper zone_end_pfn() to calculate the zone end pfn.  But
update_pgdat_span() forgot to use it.

Use this helper and rename local variable zone_end_pfn to end_pfn to avoid
a naming conflict with the existing zone_end_pfn().

Link: https://lkml.kernel.org/r/20210127093211.37714-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 2601126
History
File Mode Size
Kconfig -rw-r--r-- 17.3 KB
Makefile -rw-r--r-- 509 bytes
arm-charlcd.c -rw-r--r-- 8.8 KB
cfag12864b.c -rw-r--r-- 7.5 KB
cfag12864bfb.c -rw-r--r-- 3.9 KB
charlcd.c -rw-r--r-- 15.1 KB
charlcd.h -rw-r--r-- 3.2 KB
hd44780.c -rw-r--r-- 8.4 KB
hd44780_common.c -rw-r--r-- 9.0 KB
hd44780_common.h -rw-r--r-- 1.5 KB
ht16k33.c -rw-r--r-- 13.2 KB
img-ascii-lcd.c -rw-r--r-- 10.5 KB
ks0108.c -rw-r--r-- 4.4 KB
lcd2s.c -rw-r--r-- 9.0 KB
panel.c -rw-r--r-- 45.5 KB

back to top