public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] make some functions return bool
@ 2017-12-12  2:55 Yaowei Bai
  2017-12-12  2:55 ` [PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean Yaowei Bai
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Yaowei Bai @ 2017-12-12  2:55 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, baiyaowei

This patchset makes some *_is_* like functions return bool because
these functions only use true or false as their return values.

No functional changes.

Yaowei Bai (8):
  mm/memblock: memblock_is_map/region_memory can be boolean
  mm/mmzone: mm/lru: is_file/active_lru can be boolean
  lib/lockref: __lockref_is_dead can be boolean
  kernel/cpuset: current_cpuset_is_being_rebound can be boolean
  kernel/resource: iomem_is_exclusive can be boolean
  kernel/module: module_is_live can be boolean
  kernel/mutex: mutex_is_locked can be boolean
  crash_dump: is_kdump_kernel can be boolean

 include/linux/cpuset.h     |  6 +++---
 include/linux/crash_dump.h | 10 +++++-----
 include/linux/ioport.h     |  2 +-
 include/linux/lockref.h    |  2 +-
 include/linux/memblock.h   |  4 ++--
 include/linux/mmzone.h     |  4 ++--
 include/linux/module.h     |  2 +-
 include/linux/mutex.h      |  4 ++--
 kernel/cgroup/cpuset.c     |  4 ++--
 kernel/resource.c          | 10 +++++-----
 mm/memblock.c              |  6 +++---
 11 files changed, 27 insertions(+), 27 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-12-13  4:16 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-12  2:55 [PATCH 0/8] make some functions return bool Yaowei Bai
2017-12-12  2:55 ` [PATCH 1/8] mm/memblock: memblock_is_map/region_memory can be boolean Yaowei Bai
2017-12-12 16:03   ` Joe Perches
2017-12-13  2:32     ` Yaowei Bai
2017-12-12  2:55 ` [PATCH 2/8] mm/mmzone: mm/lru: is_file/active_lru " Yaowei Bai
2017-12-12  2:55 ` [PATCH 3/8] lib/lockref: __lockref_is_dead " Yaowei Bai
2017-12-12  2:55 ` [PATCH 4/8] kernel/cpuset: current_cpuset_is_being_rebound " Yaowei Bai
2017-12-12  2:55 ` [PATCH 5/8] kernel/resource: iomem_is_exclusive " Yaowei Bai
2017-12-12  2:55 ` [PATCH 6/8] kernel/module: module_is_live " Yaowei Bai
2017-12-12  2:55 ` [PATCH 7/8] kernel/mutex: mutex_is_locked " Yaowei Bai
2017-12-12  2:55 ` [PATCH 8/8] crash_dump: is_kdump_kernel " Yaowei Bai
2017-12-12  5:50 ` [PATCH 0/8] make some functions return bool David Rientjes
2017-12-12  7:21   ` Yaowei Bai
2017-12-12  8:12     ` Nikolay Borisov
2017-12-12 17:20     ` Randy Dunlap
2017-12-13  2:14       ` Yaowei Bai
2017-12-13  2:32         ` Randy Dunlap
2017-12-13  2:58           ` Yaowei Bai
2017-12-13  3:47           ` David Rientjes
2017-12-13  4:16             ` Yaowei Bai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox