lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1513308799-19232-1-git-send-email-baiyaowei@cmss.chinamobile.com>
Date:   Thu, 14 Dec 2017 22:33:12 -0500
From:   Yaowei Bai <baiyaowei@...s.chinamobile.com>
To:     akpm@...ux-foundation.org, rdunlap@...radead.org,
        rientjes@...gle.com, joe@...ches.com
Cc:     linux-kernel@...r.kernel.org, baiyaowei@...s.chinamobile.com
Subject: [PATCH 0/7 v3] make some functions return bool

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

No functional change. 

Change from v2:

  fix x86_64 allnoconfig build error for is_kdump_kernel (Andrew)

Yaowei Bai (7):
  mm/memblock: memblock_is_map/region_memory 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 | 12 ++++++------
 include/linux/ioport.h     |  2 +-
 include/linux/lockref.h    |  2 +-
 include/linux/memblock.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 +++---
 10 files changed, 26 insertions(+), 26 deletions(-)

-- 
1.8.3.1



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ