Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9930487ybi; Wed, 24 Jul 2019 12:31:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6TtO6POYPKUOUIjjhXfpy2evAGpYYNojKF0GbJN+MeSU2b5qk5vivFS58FqeVQndwKYKe X-Received: by 2002:a63:6f8f:: with SMTP id k137mr29671460pgc.90.1563996714631; Wed, 24 Jul 2019 12:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563996714; cv=none; d=google.com; s=arc-20160816; b=VWZeYwoixd+vV8Gkd2p8vNZL8LaXXHvOAo9mi1cdjP//JJanNzCRRosdXoSFVDigyA Q0bb/LL74ZbxTPCfUvUsjJKRpwYb+C5moRYcJoGK5hxkh0Sho8Pwl/IqfYy3SUEhJ7WY iEv/8+4EocTebU8P5wxF2RfNPiJKFIRTn9cJrVr2429+2u/5GdtAXLB7ZFOxl9Y3Ol25 JmGd6RmKVUgFVXM+JHmkpRiMkohCxN/uk5yQ1F8c3sNK0xYkwSFqGpTpoFemsBJNvTeK fkpyWyhJDIDH1lAvtqWoPNxFx+FD2PCjxpx4DWzOgBtsfOYG06q29xN1vLjFt4V0Zjvk 2dlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OFsk+VqP8A5nD7J3F/DyTjf8tAB966X5T/bb0Trob4A=; b=DaLpRRiIUvKbtDAFHf0yxNEgK72sqXKgFPtv3CL/YauO9F6djYlfKBhsG9bcs1q9iG iG+an6r0WLkKLRMBWXUmAObiU+aguvkaKrQMGfv5NeIGt/5PI5dxbJ4tVnnWAq/WTc0D 78rtNBSn/zY0KXdL41TdMDzUPjTepzETgRq/R5rTzmVPawEZNZvIpmQcHyKmdecOCD5y DqMcvGcdYQ58Ro4H9Gqc/ya3APzfLkhkeH4szvceLZYNbLosuHqSfEKX4wn3jx/V8tS/ llOxdOgYjzzFyiygqcB/fMcGOUmr4EBiWgZlA9JAnTuzIbEg61zBJwvlK6WAeHxuaGmD 3X3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O91J82dB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y186si14794215pgd.440.2019.07.24.12.31.40; Wed, 24 Jul 2019 12:31:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O91J82dB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728817AbfGXT2g (ORCPT + 99 others); Wed, 24 Jul 2019 15:28:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:46928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388302AbfGXT2e (ORCPT ); Wed, 24 Jul 2019 15:28:34 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1844220659; Wed, 24 Jul 2019 19:28:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563996513; bh=KmZTVLzqMDZo8iqhwPwHWiJB4bGJk2kFGctilnjS/NE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O91J82dBIYmGZS/8OPoz8z5necDFRn2ww35bTgW8RGRb6OQ9mxyKih3d82cJHPpML LHEP95bPVAMNkKnlhta5d/f03DYjCz/YYhu8G1BOjHywsC7NrXkuOnPLWc/16WYNoj GGd7hMI/OtJ1n97IQ02mF6MzzX7/dZMl/DHAQq6A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hechao Li , Andrii Nakryiko , Daniel Borkmann , Sasha Levin Subject: [PATCH 5.2 082/413] selftests/bpf : clean up feature/ when make clean Date: Wed, 24 Jul 2019 21:16:13 +0200 Message-Id: <20190724191740.995175741@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191735.096702571@linuxfoundation.org> References: <20190724191735.096702571@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 89cceaa939171fafa153d4bf637b39e396bbd785 ] An error "implicit declaration of function 'reallocarray'" can be thrown with the following steps: $ cd tools/testing/selftests/bpf $ make clean && make CC= $ make clean && make CC= The cause is that the feature folder generated by GCC 4.8.5 is not removed, leaving feature-reallocarray being 1, which causes reallocarray not defined when re-compliing with GCC 7.x. This diff adds feature folder to EXTRA_CLEAN to avoid this problem. v2: Rephrase the commit message. Signed-off-by: Hechao Li Acked-by: Andrii Nakryiko Signed-off-by: Daniel Borkmann Signed-off-by: Sasha Levin --- tools/testing/selftests/bpf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile index e36356e2377e..1c9511262947 100644 --- a/tools/testing/selftests/bpf/Makefile +++ b/tools/testing/selftests/bpf/Makefile @@ -275,4 +275,5 @@ $(OUTPUT)/verifier/tests.h: $(VERIFIER_TESTS_DIR) $(VERIFIER_TEST_FILES) ) > $(VERIFIER_TESTS_H)) EXTRA_CLEAN := $(TEST_CUSTOM_PROGS) $(ALU32_BUILD_DIR) \ - $(VERIFIER_TESTS_H) $(PROG_TESTS_H) $(MAP_TESTS_H) + $(VERIFIER_TESTS_H) $(PROG_TESTS_H) $(MAP_TESTS_H) \ + feature -- 2.20.1