Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6509598pxu; Thu, 24 Dec 2020 04:26:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwCf8lx9NAg2g8P2UQRl1o3kDLQZimylX8CzJEV15qoU8PxBCZZfa5vKMNWEEtMmqTApry X-Received: by 2002:aa7:c891:: with SMTP id p17mr693541eds.309.1608812817886; Thu, 24 Dec 2020 04:26:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608812817; cv=none; d=google.com; s=arc-20160816; b=mx499zoAw/u675U+S+kQ4rrLfFC1LyXApDVfCJ/bSerCviVVsqZFY8bkF5RMjOtOtp g/DEcP2BnnfhM2zCKUhCepwkhnKB0PsZ18UgLjJkwGp0JcRAeaEqcCSREDYiKmCJUtUY lOFGqBQ3ROjzsHbYA8xhUJJQrYAKuKsDXQJp9/I5ynmMvz80PtXfW7OiYoukhHosO2QQ S+qzvo7u2Yn/UT3iJb+xhK6VWqBNZp6EfhlZDE+r+fi6YpLR/XNVKmoGnTCwaKp0YM6W H7zJ6s4FZiOJTtA1uz+UtswI+mhN9qHbR0+id12Umzs5VUGCFifTvNtd5hkfmiAEHlWU 3WHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=iBOJcQOiXPh6FmtZUBfyQvBpQW1fRq+j7E+7a/SkaxM=; b=qEhUvdjezLyb21VbSjTE5J5zQW5pecmHeEfDbzNIHS4mHnw5PhXo61i0EHQI6vlheM Ap7Wf7VHT/TSFn6d3hhauegAwFtO8o+a9aQ+4fBvLASxd5ihaurf69sWuzPqGYHnyGvm 8igt3tSuBomZ2D4R+nCNW7y6DsfT/LdxESh4JDFC5i6BEeZsLTlmUAjnRjfQQyKfmWUJ Cy1mFDUmtZ6xayMJNVd0kZlWNua/H0kJwlxItzLWHj94w5zUW1yU4sql0FmqPLoc/vtp eTtlq00aWJo/cBq/lpwDR9F++LJTD7Nz493jv/lIngwOVsg+jEJxPrF8ddBdDqoPRGUO ZxhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si9384618eji.385.2020.12.24.04.26.35; Thu, 24 Dec 2020 04:26:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727968AbgLXMYv (ORCPT + 99 others); Thu, 24 Dec 2020 07:24:51 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:10079 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726591AbgLXMYu (ORCPT ); Thu, 24 Dec 2020 07:24:50 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4D1q3f47hnzM68d; Thu, 24 Dec 2020 20:23:10 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Thu, 24 Dec 2020 20:24:04 +0800 From: Tian Tao To: , , , , , , , , , , , , , , CC: Subject: [PATCH] perf build: remove -Wnested-externs Date: Thu, 24 Dec 2020 20:24:06 +0800 Message-ID: <1608812646-23489-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org since commit c93e4aeed1be ("Makefile.extrawarn: remove -Wnested-externs warning") has removed this check, so it's not needed here. Signed-off-by: Tian Tao --- tools/perf/Makefile.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index ce8516e..b9e8634 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -16,7 +16,7 @@ $(shell printf "" > $(OUTPUT).config-detected) detected = $(shell echo "$(1)=y" >> $(OUTPUT).config-detected) detected_var = $(shell echo "$(1)=$($(1))" >> $(OUTPUT).config-detected) -CFLAGS := $(EXTRA_CFLAGS) $(filter-out -Wnested-externs,$(EXTRA_WARNINGS)) +CFLAGS := $(EXTRA_CFLAGS) $(EXTRA_WARNINGS) include $(srctree)/tools/scripts/Makefile.arch -- 2.7.4