Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256AbdLLCz1 (ORCPT ); Mon, 11 Dec 2017 21:55:27 -0500 Received: from cmccmta3.chinamobile.com ([221.176.66.81]:19305 "EHLO cmccmta3.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752102AbdLLCz0 (ORCPT ); Mon, 11 Dec 2017 21:55:26 -0500 X-RM-TRANSID: 2eea5a2f451c63b-e03f9 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 X-RM-TRANSID: 2eea5a2f451baf7-735cb From: Yaowei Bai To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, baiyaowei@cmss.chinamobile.com Subject: [PATCH 0/8] make some functions return bool Date: Mon, 11 Dec 2017 21:55:11 -0500 Message-Id: <1513047319-22302-1-git-send-email-baiyaowei@cmss.chinamobile.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1087 Lines: 32 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