Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9929330ybi; Wed, 24 Jul 2019 12:30:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhaIffPJXLGm9zi/ATM/abHsnMC60H5uXMZWPpCPn68knG7PPGOzlJOm6jQRhdIe+S5+eK X-Received: by 2002:a63:ee04:: with SMTP id e4mr58042444pgi.53.1563996650339; Wed, 24 Jul 2019 12:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563996650; cv=none; d=google.com; s=arc-20160816; b=q3RsRNy2BuN3sl/YsMEWSE2HZjSA7pe2BP5VqsU5UjRBxiXrGRmLHgG5dTy2rQa1gV ohIy6nXcYfZyQeUUZcR/9x/xMz8UJdvTVcRczVeFUKic3zm4tLBnN4/FIYRaDnHpLMw0 zc6UkMEbD5kMRMFTSS6kTDHRru3T/wP1FBp/qQpz1RhQXq82xI7JdUY56/adM9rfsrb6 PivmiZDe0g9AjTVZJB9FAJyzezMtozUXpeXT8zLpIe1w7+ZtkRGayYgSvbm/+3QSGrML F8Hwpu5MGHk72c/811o6llTAcvakoDTewoz9Pu999vt4YXmKTSZNFV+F8/Ognbj2At8f Up2A== 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=hRFtGJgN31BWcHdfzutf9fzt5hFDHHltpsOentg0X/w=; b=Vo+wHiEg7Nk1gCBhyR3q3txnMthDbP3v2AUxa0KughzOVK80LAiufLciY1M6OXZ6tv Dh3fHR3Zc6v6yCrD+sAOhirWR9Ov56nMLf/n6O/BDfQbmuOtiCM+E40u/q9mwCs07L5i hJ6VmQbB5YN6Ax47/OyeZ9dD0tsgaR1S24o4EzbL2bA5L6N6pzTLY8qcp4e8kvJXOwvJ i5g+fnLNtXdmHyXZgRSPLMI6QEIBL11bOJ5ffH4bKuBnz/mvRWaskeZQsziZepRjauG3 R2PwqYnFQfFfZpkJef2pyveGqcIS5xt8Aafr7lg3pB8uY9CBKLn/sg76LiRaMu+x+pxU +Q0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fq39Zxkr; 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 s144si14874957pgs.232.2019.07.24.12.30.35; Wed, 24 Jul 2019 12:30:50 -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=Fq39Zxkr; 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 S1728964AbfGXT2s (ORCPT + 99 others); Wed, 24 Jul 2019 15:28:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:47324 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728886AbfGXT2q (ORCPT ); Wed, 24 Jul 2019 15:28:46 -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 46EF721951; Wed, 24 Jul 2019 19:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563996525; bh=9T3ggQroFXS+ozFglygL7PVZfvxOBqLm3bkcwDSiRos=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fq39ZxkryQRgm1CwOnDeXJb+4KAd0c3uZtH2THMxwYS4dU4KutakBk6PprZVyLnEY pQTtoypUKIqIaPLGblUQqHN+9I1litX7h3N5Vyt9PCPmoLLORKSZV4ZUljIJMHRJvU vjAgLeI3oZssJ8hlMZHbRd4tZ/4MJF1HL1nkFjTA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adrian Hunter , Jiri Olsa , Namhyung Kim , Alexey Budankov , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 5.2 120/413] tools build: Fix the zstd test in the test-all.c common case feature test Date: Wed, 24 Jul 2019 21:16:51 +0200 Message-Id: <20190724191743.821939385@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 3469fa84c1631face938efc42b3f488a2c2504e0 ] We were renanimg 'main' to 'main_zstd' but then using 'main_libzstd();' in the main() for test-all.c, causing this: $ cat /tmp/build/perf/feature/test-all.make.output test-all.c: In function ‘main’: test-all.c:236:2: error: implicit declaration of function ‘main_test_libzstd’; did you mean ‘main_test_zstd’? [-Werror=implicit-function-declaration] main_test_libzstd(); ^~~~~~~~~~~~~~~~~ main_test_zstd cc1: all warnings being treated as errors $ I.e. what was supposed to be the fast path feature test was _always_ failing, duh, fix it. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Alexey Budankov Fixes: 3b1c5d965971 ("tools build: Implement libzstd feature check, LIBZSTD_DIR and NO_LIBZSTD defines") Link: https://lkml.kernel.org/n/tip-ma4abk0utroiw4mwpmvnjlru@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/build/feature/test-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/feature/test-all.c b/tools/build/feature/test-all.c index a59c53705093..939ac2fcc783 100644 --- a/tools/build/feature/test-all.c +++ b/tools/build/feature/test-all.c @@ -182,7 +182,7 @@ # include "test-disassembler-four-args.c" #undef main -#define main main_test_zstd +#define main main_test_libzstd # include "test-libzstd.c" #undef main -- 2.20.1