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
Raw File
Kconfig
# SPDX-License-Identifier: GPL-2.0-only
menuconfig SIOX
	tristate "Eckelmann SIOX Support"
	help
	  SIOX stands for Serial Input Output eXtension and is a synchronous
	  bus system invented by Eckelmann AG. It is used in their control and
	  remote monitoring systems for commercial and industrial refrigeration
	  to drive additional I/O units.

	  Unless you know better, it is probably safe to say "no" here.

if SIOX

config SIOX_BUS_GPIO
	tristate "SIOX GPIO bus driver"
	help
	  SIOX bus driver that controls the four bus lines using GPIOs.

endif
back to top