Re: [PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean

2017-12-12 Thread Yaowei Bai
On Tue, Dec 12, 2017 at 08:03:11AM -0800, Joe Perches wrote: > On Mon, 2017-12-11 at 21:55 -0500, Yaowei Bai wrote: > > This patch makes memblock_is_map/region_memory return bool due to these > > two functions only using either true or false as its return value. > [] > > @@ -1690,13 +1690,13 @@

Re: [PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean

2017-12-12 Thread Yaowei Bai
On Tue, Dec 12, 2017 at 08:03:11AM -0800, Joe Perches wrote: > On Mon, 2017-12-11 at 21:55 -0500, Yaowei Bai wrote: > > This patch makes memblock_is_map/region_memory return bool due to these > > two functions only using either true or false as its return value. > [] > > @@ -1690,13 +1690,13 @@

Re: [PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean

2017-12-12 Thread Joe Perches
On Mon, 2017-12-11 at 21:55 -0500, Yaowei Bai wrote: > This patch makes memblock_is_map/region_memory return bool due to these > two functions only using either true or false as its return value. [] > @@ -1690,13 +1690,13 @@ int __init_memblock memblock_search_pfn_nid(unsigned > long pfn, > *

Re: [PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean

2017-12-12 Thread Joe Perches
On Mon, 2017-12-11 at 21:55 -0500, Yaowei Bai wrote: > This patch makes memblock_is_map/region_memory return bool due to these > two functions only using either true or false as its return value. [] > @@ -1690,13 +1690,13 @@ int __init_memblock memblock_search_pfn_nid(unsigned > long pfn, > *

[PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean

2017-12-11 Thread Yaowei Bai
This patch makes memblock_is_map/region_memory return bool due to these two functions only using either true or false as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/memblock.h | 4 ++-- mm/memblock.c| 6 +++---

[PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean

2017-12-11 Thread Yaowei Bai
This patch makes memblock_is_map/region_memory return bool due to these two functions only using either true or false as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/memblock.h | 4 ++-- mm/memblock.c| 6 +++--- 2 files changed, 5