From patchwork Tue Oct 11 01:39:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Gongyi X-Patchwork-Id: 13003554 Return-Path: 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 1B289C433FE for ; Tue, 11 Oct 2022 01:43:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 696466B0072; Mon, 10 Oct 2022 21:43:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 645D56B0073; Mon, 10 Oct 2022 21:43:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 534906B0074; Mon, 10 Oct 2022 21:43:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 403F56B0072 for ; Mon, 10 Oct 2022 21:43:16 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 10114C0FFE for ; Tue, 11 Oct 2022 01:43:16 +0000 (UTC) X-FDA: 80006970792.14.4DA75A2 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf10.hostedemail.com (Postfix) with ESMTP id D325DC001E for ; Tue, 11 Oct 2022 01:43:14 +0000 (UTC) Received: from canpemm500005.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MmdjJ4NWPzVhpV; Tue, 11 Oct 2022 09:38:44 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.63) by canpemm500005.china.huawei.com (7.192.104.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 11 Oct 2022 09:43:09 +0800 From: Zhao Gongyi To: , , CC: , , , Zhao Gongyi Subject: [PATCH -next] selftests/memory-hotplug: Remove the redundant warning information Date: Tue, 11 Oct 2022 09:39:26 +0800 Message-ID: <20221011013926.200774-1-zhaogongyi@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.67.174.63] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500005.china.huawei.com (7.192.104.229) X-CFilter-Loop: Reflected ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665452595; 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:in-reply-to: references; bh=ke4URedrMEDPrsogdl66o/+8iTSnMS9GXOUPYrDw93Y=; b=XjUR2hz8VkfAThr6Xv4F4vh7mFp2Wu76EK96CyylGKS+FmtWhGOfETmhPht5qqISwVEvXU U/lz5kXSenj8Q1yufcA1CZnhwYOsxEa10l92tDyJlgxhpUKGsWTfmSHtFw4kE3oGDejxEv XmnZlhqokaGoIwsK7KRs7fFE7muySf0= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of zhaogongyi@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=zhaogongyi@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665452595; a=rsa-sha256; cv=none; b=T9jDyn8SZ5ZSwWTc8kUoXwuNc4EAx1IShUC2unPh2KZsz39LHJlgs9VSAfAoKg4670doRp XLH8xOVXN43JCptIFkhusBsCm76VMO72XEgKQbE7zb1qoMr6QbmQfknAG+o58TcZo2XlXm XJ97QaJpjoktmKOJ0BRNlWGCROwxb8Q= Authentication-Results: imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of zhaogongyi@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=zhaogongyi@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Rspam-User: X-Stat-Signature: bxjan3wgszm7jdu8xsyptgrdrom1ozh4 X-Rspamd-Queue-Id: D325DC001E X-Rspamd-Server: rspam01 X-HE-Tag: 1665452594-248783 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: Remove the redundant warning information of online_all_offline_memory() since there is a warning in online_memory_expect_success(). Signed-off-by: Zhao Gongyi Reviewed-by: David Hildenbrand --- tools/testing/selftests/memory-hotplug/mem-on-off-test.sh | 1 - 1 file changed, 1 deletion(-) -- 2.17.1 diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh index 74ee5067a8ce..611be86eaf3d 100755 --- a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh +++ b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh @@ -138,7 +138,6 @@ online_all_offline_memory() { for memory in `hotpluggable_offline_memory`; do if ! online_memory_expect_success $memory; then - echo "$FUNCNAME $memory: unexpected fail" >&2 retval=1 fi done