Message ID | 20230804012559.2617515-1-zhangpeng362@huawei.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 894A3C04A6A for <linux-mm@archiver.kernel.org>; Fri, 4 Aug 2023 01:26:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1E20B2802AD; Thu, 3 Aug 2023 21:26:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0CA472802AB; Thu, 3 Aug 2023 21:26:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CB7492802AB; Thu, 3 Aug 2023 21:26:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 97F492802AD for <linux-mm@kvack.org>; Thu, 3 Aug 2023 21:26:14 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 4284CB2FE4 for <linux-mm@kvack.org>; Fri, 4 Aug 2023 01:26:14 +0000 (UTC) X-FDA: 81084681468.06.DC26B00 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf23.hostedemail.com (Postfix) with ESMTP id B874914000E for <linux-mm@kvack.org>; Fri, 4 Aug 2023 01:26:11 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf23.hostedemail.com: domain of zhangpeng362@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=zhangpeng362@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691112372; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=qS0lL/yOihzdaFJv7O0tMF/YkFrcphf66Uk3E9n2btM=; b=v2kaWZI77KPs45j6ojmnZ35k2pCEkup/xgCvluXykdOMv7A3VaEczQ6F/spiUXwDIWNSvm k8mXid7RGehXa6s2fhuVpzuaYjc8MPFV99Fl3gx71duaZchJIdsReCaDmUZcFD0QcqiZnH m3XHCrq791X5yESVKnM45Icl6tLsdZk= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf23.hostedemail.com: domain of zhangpeng362@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=zhangpeng362@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691112372; a=rsa-sha256; cv=none; b=g3rIuE4TFkzEhDU3+Ib+zB/tBz9dMFSryjKGmO30rln+1iA0WD6JqkuxOSvHzt49r8QBlm YrE+bX5SzjcBVJxVE7vzWlqYDh87mroXMPdnrm+dckRaVKwx8w6Tef9drMRWK1sRHbTKgJ Tt02y6J6LiN/wV8fIZ1/4zgQ4dFrymM= Received: from kwepemm600020.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RH7Hh0gpmzNmlG; Fri, 4 Aug 2023 09:22:40 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by kwepemm600020.china.huawei.com (7.193.23.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 4 Aug 2023 09:26:05 +0800 From: Peng Zhang <zhangpeng362@huawei.com> To: <linux-mm@kvack.org> CC: <akpm@linux-foundation.org>, <wangkefeng.wang@huawei.com>, <sunnanyong@huawei.com>, ZhangPeng <zhangpeng362@huawei.com> Subject: [PATCH 0/7] cleanup with helper macro K() Date: Fri, 4 Aug 2023 09:25:52 +0800 Message-ID: <20230804012559.2617515-1-zhangpeng362@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600020.china.huawei.com (7.193.23.147) X-CFilter-Loop: Reflected X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: B874914000E X-Stat-Signature: 3anqqszyxew9jkexnm5t9otxge91eiza X-Rspam-User: X-HE-Tag: 1691112371-844391 X-HE-Meta: U2FsdGVkX19Zv8APovK+mk4EeXvsVvyNW9eip+/nsgMHGJCQmrzztQGLDtEzh1wrLyzcFsVy0+Auw469H3gtD1XhqClL3wQsSezifWMWNTayldmsakZqRXpTf+5xxyRepasCCW1Bz1AbfMIbFY9m78WYSQTbtXs39y9zcxnAlhjbUFfp2KYwoZCbor+I6Vv6cIUkg94q4jyd7X1dqQgJ6UPN2TTKPLddH/MFWyNAPfKPe+9ys/QdLOQeux3MyN+h7+xvoljBKj8LRngC3uzIgZSrONvSbkEMmkPA3NFDpNA93ZctW2apKlRg62XeOy1y0uzEeHIeo+Q7XXrPOiE0TPhd8h21ZyApeTYX4nMLexlVUwiZRhfSUw4mFtGLxIhZwOn52oO+7LWK90SiEOyV3PJXWP8Jx5RVrIARrPruX0dSLnqpP4k9cIJ7xef1a6Naq/W5g9MbnQd4NDvnlNeiVkGZtpCGTAIGvJrKMAW0Mgs1ATrRLxpDvSBmNPFLcHL53+ylmKXcgZbRu+CmWCEDfJObIR6S9qA/0rgK7RZFSFaUHkVaW5l1KmlUsudh07rCHIuko/f42ACzaMokPN8tTVu1y5J/U2RusCkrkQZRbwsntnenR7V4GEfrsY59qv6YX4awUwV6IImd4p68EvCAL3h1lxS7QUL5ldhXrEAcb2ZySOtyMDnCxRbYXIFbE6C1gEgCfph/Ppa0llpdZeGeZSgELAYCuH9sPKGscSVUcW1gabKP60yaT4+0fDSDlYG0pjK7oHbJuEuGPyBpNXcHbJI36MiKPyW+7g2hbz4KBx1ejwznyEu+TFOEi/0GLLdF0B+0e3BgRs+C4ZAzN/5Bxob3Ejg6FevCbr9BmFUl3n0UsUL5xOl9S32yk3FWurLb7udpTVH+zd0lFLEllKkvvpwm8gKYt/iiS8ERRGRb7eJl+XSufQUbwEWOvzYhnU4MlM/x55WFjX8uTUJokvz budgnq8a MHG+uB0DvzUpMW1K9Wgt1yEih5g7RJvpPmWkyw9Tcl3bxv7djgnJWChXyAAShigDhOwcezJrRCurWL2SMGiLtXQrR1cvxk8IiWGBM0XSb9gPNRH9+0Xb8YJki0amnpyyA+qWfJv36Aqer8rE= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
cleanup with helper macro K()
|
expand
|
On Fri, Aug 04, 2023 at 09:25:52AM +0800, Peng Zhang wrote: > From: ZhangPeng <zhangpeng362@huawei.com> > > Use helper macro K() to improve code readability. No functional > modification involved. Remove redundant K() macro definition. For the series: Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
From: ZhangPeng <zhangpeng362@huawei.com> Use helper macro K() to improve code readability. No functional modification involved. Remove redundant K() macro definition. ZhangPeng (7): mm: remove redundant K() macro definition mm/swapfile.c: use helper macro K() mm/swap_state.c: use helper macro K() mm/shmem.c: use helper macro K() mm/nommu.c: use helper macro K() mm/mmap.c: use helper macro K() mm/hugetlb.c: use helper macro K() mm/backing-dev.c | 3 +-- mm/hugetlb.c | 2 +- mm/memcontrol.c | 1 - mm/mmap.c | 6 +++--- mm/nommu.c | 4 ++-- mm/oom_kill.c | 2 -- mm/shmem.c | 3 +-- mm/swap_state.c | 5 ++--- mm/swapfile.c | 12 ++++++------ 9 files changed, 16 insertions(+), 22 deletions(-)