Message ID | 20240612071835.157004-6-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New |
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 365C5C27C53 for <linux-mm@archiver.kernel.org>; Wed, 12 Jun 2024 07:22:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C369F6B0169; Wed, 12 Jun 2024 03:22:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B8EC46B016E; Wed, 12 Jun 2024 03:22:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 884376B016B; Wed, 12 Jun 2024 03:22:27 -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 62D086B0169 for <linux-mm@kvack.org>; Wed, 12 Jun 2024 03:22:27 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 16C67813B8 for <linux-mm@kvack.org>; Wed, 12 Jun 2024 07:22:27 +0000 (UTC) X-FDA: 82221393534.10.2CB9A2E Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf01.hostedemail.com (Postfix) with ESMTP id B754640010 for <linux-mm@kvack.org>; Wed, 12 Jun 2024 07:22:24 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf01.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718176945; 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:in-reply-to:references:references; bh=RTisLkZup//DVRehLl5hYwdXLY2nceSUG3D1pVWcj7c=; b=naLPrS+cBb34NvmDQyyMZk6pocG/91X6s+8nNZwJ+4n1Rq9KahZxLlYjPfNA5o1vru9n7R ED8Wf73rV19XjRUifJrvYEzJs6q8hzIgy1DZJNg3kLJzOzZsFgfzwoDjW8dfT6tVXgKxs+ ILMqNP/Dh6yrgru7eZiDo5/AWjWps4Q= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf01.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718176945; a=rsa-sha256; cv=none; b=J7Pogt1OvkpKeXSb2LachBIw9I03huOElzlvpoTBFprMbRXp/bsmjliUX8F2fU0CMsjSrC vNv5RGsTwB0IejatigS1iHyiiOMmRE/9bhS/Menk/P7uGvlP3tWgmXMUZwyBBc2d7Zx643 fEN2Ovk6G8IN/Lf7i1qICHBfmstZvXw= Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VzcMY4PWXzxT7y; Wed, 12 Jun 2024 15:18:17 +0800 (CST) Received: from canpemm500002.china.huawei.com (unknown [7.192.104.244]) by mail.maildlp.com (Postfix) with ESMTPS id DF0571402CA; Wed, 12 Jun 2024 15:22:21 +0800 (CST) Received: from huawei.com (10.173.127.72) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 12 Jun 2024 15:22:21 +0800 From: Miaohe Lin <linmiaohe@huawei.com> To: <akpm@linux-foundation.org>, <tony.luck@intel.com>, <bp@alien8.de> CC: <nao.horiguchi@gmail.com>, <linmiaohe@huawei.com>, <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>, <linux-edac@vger.kernel.org> Subject: [PATCH v3 05/13] mm/memory-failure: remove unneeded empty string Date: Wed, 12 Jun 2024 15:18:27 +0800 Message-ID: <20240612071835.157004-6-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20240612071835.157004-1-linmiaohe@huawei.com> References: <20240612071835.157004-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.173.127.72] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500002.china.huawei.com (7.192.104.244) X-Rspamd-Queue-Id: B754640010 X-Rspamd-Server: rspam10 X-Rspam-User: X-Stat-Signature: 4nau9rwrp8z135h8nrapmop147yrd5r6 X-HE-Tag: 1718176944-156164 X-HE-Meta: U2FsdGVkX1/j9S0TA0xoPobBFVeKGkEfcw8fJgIuXErq1VQ2ZP/vJUtk2EeIz4ZWNNqc3h7QhBMa2DRlWmGxTDpSLCSYTWsw1+Q4FiZ+xIgUKjrODDp2RQnxt7h9jsNNGy4m9mhHPZAYCBu6N/U9Bi1IelM7jWsRp8Trdz+ikrWLruTqZ78vmFwwy+fb+MFptcVlV375+O3DeJEw4kA/IfntFcjTCYVaA2YynaIx/VDC9Y8/fmHmJj5/JDjgN/tjVr8ZJgxFZETIdK7PE5uQ2k8WbQBafNfMsYmjnJxvooRnQvn+sqQEJ1IrzR+IVuGNKUCBNwXeJOY+NN4XRIiMNazcr40GyC6HAKBUKgTWQNo3QEcP59woEELcQwKTY0mJUZjdMP6wsN+iCONegxfPtSZwzRYFPx6SegKKbrGDuLz5hJsGkbUdTLenRq8+KG8/5y1/z4lCrVpdCTzovM5nw2cnz16xaP/Ary3i7XYTuDS4xSHDWNoBcPmo7XWMKU+reoqfhL2n6Qlg42LsC+wqeUdKnzZjRgxnqFazwMRQvEUJak75R1usKM64+Ak3xuvSRYQSX9YA3AT5M50NnS026M8Z6jEESx4TWVJ4Z3iEjorWDzEfILIhfPffeqqmcIpz06pNl6QwWb9v2oKIgEUH+HQSoCVApyUYOiARTe3JWjLbTUaPbP628cEsORuYE4+Xi0CshD63rb1Xe83AKzIkwn4uGdy6Z5YoPKpFK1DeidgKOuFa8YSY3M7rBxy8s2XVFjXNJGfasPl+Un3Lq1KktMC1NHzJSmGURcql40VBK/Y8bvHL43L07uExXGlohpkOehGrNpOKZeh6hXY7PwkneppeULqy5DBTnRsMR29Gg0A4FcrPHifJ+XmfR9uiL78TfEOGUwFv2KrJy+zj6Vey8wBuaF3oyKU9EKOzQV1WYTCJea1Bzww8JnwcACppZLWPDICsdGoPuLkn7hDR3t1 oHsSd1kY CWbR7C8/NGhmVuoIUZP55JMXOQEn/acEBhI66BNeIQiY8ef1JoGywoQhxoLdvW1ZJSrPVRWBt+nkyhFLE+9iIpwqH4DrgvViBL5W7X8bbuX438aXaO12oSlCxGcpwNXZDIFze7ktgKHkPJfcwvoCamt/d5cx+kq5iIL1lI88TVOTNTrwA9V5z6PQHQZKon0qFi+EFqRNBTvZs5DedqYVdRpT8Rg== 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Some cleanups for memory-failure
|
expand
|
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 470c570d779c..ec482524158e 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -2518,7 +2518,7 @@ static int __init memory_failure_init(void) core_initcall(memory_failure_init); #undef pr_fmt -#define pr_fmt(fmt) "" fmt +#define pr_fmt(fmt) fmt #define unpoison_pr_info(fmt, pfn, rs) \ ({ \ if (__ratelimit(rs)) \
Remove unneeded empty string in definition of macro pr_fmt. No functional change intended. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> --- mm/memory-failure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)