Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753912AbcCWC0u (ORCPT ); Tue, 22 Mar 2016 22:26:50 -0400 Received: from cmccmta1.chinamobile.com ([221.176.66.79]:5852 "EHLO cmccmta1.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753785AbcCWC0g (ORCPT ); Tue, 22 Mar 2016 22:26:36 -0400 X-RM-TRANSID: 2ee156f1fed6f3d-a01f0 X-RM-SPAM-FLAG: 00000000 X-RM-TRANSID: 2ee356f1fed5f78-ae41e From: Yaowei Bai To: akpm@linux-foundation.org Cc: n-horiguchi@ah.jp.nec.com, kirill.shutemov@linux.intel.com, rientjes@google.com, iamjoonsoo.kim@lge.com, hannes@cmpxchg.org, vdavydov@virtuozzo.com, kuleshovmail@gmail.com, vbabka@suse.cz, mgorman@techsingularity.net, linux-mm@kvack.org, linux-kernel@vger.kernel.org, baiyaowei@cmss.chinamobile.com Subject: [PATCH 0/5] mm: make several functions return bool Date: Wed, 23 Mar 2016 10:26:04 +0800 Message-Id: <1458699969-3432-1-git-send-email-baiyaowei@cmss.chinamobile.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 22 This series only makes several functions return bool to improve readability, no other functional changes. Yaowei Bai (5): mm/hugetlb: is_vm_hugetlb_page can be boolean mm/memory_hotplug: is_mem_section_removable can be boolean mm/vmalloc: is_vmalloc_addr can be boolean mm/lru: is_file/active_lru can be boolean mm/mempolicy: vma_migratable can be boolean include/linux/hugetlb_inline.h | 6 +++--- include/linux/memory_hotplug.h | 6 +++--- include/linux/mempolicy.h | 10 +++++----- include/linux/mm.h | 4 ++-- include/linux/mmzone.h | 4 ++-- mm/memory_hotplug.c | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) -- 1.9.1