Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6702802rwd; Tue, 6 Jun 2023 00:14:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7dhwp8h+OlkvJGXQfNOj/LzuuEYCeQYRLUT6jkdacwE7Z1c3WpnY/3ho8j9ScYUbgI66/S X-Received: by 2002:a05:622a:5cb:b0:3f6:bbca:f235 with SMTP id d11-20020a05622a05cb00b003f6bbcaf235mr1031023qtb.40.1686035674445; Tue, 06 Jun 2023 00:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686035674; cv=none; d=google.com; s=arc-20160816; b=mEQMf7OYUY9psDBOH1CVwTPBc27MFY0/n68dhZ8AZkqEv7TLJnBDq8t4V2+2Z7ZHj0 BGZENDvO7nIWt722CBTI+1ljRKY046vGD6c8K4wDATVmqURuLKaHcjdwslhCGF57z9in vcCRCKgc5rUeQspF0v2Z/qp2zG8SjmtGENLI93HRA5lX3jmRiyR/0A+U7H6YJMYHJ3ZB Bxb43B1lj+pv/tfIk2LgVxSafA81unbpQ8SHbk/lkCSEjBN+LxJQCef6ClUe3Z1PzRsu lbtbEG8/E+6R7X6kMEXMa3L8XtC94JSmB1hxV7x7jVw9n/LKArY2s5QtzCpZaJ10r5VO TWRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=6D8/A1EaMpr0fZI/q/93AmR2VPYJ65578K2QcmNIOO4=; b=rK2T/oOmqQaXCJwdj6+c7QfsqKmFdwQr+SfsH05AbH5Bowqgs1kxpmO2/fF2pPDpRy fVuMCpoho7+CR1gxYHcKO+/eB8LuMQSptdwoj6dOtzMFJ2I4qyZ+B6z/mzHQLudQhTIZ IDg1AUhy+PjoAKopt+vWC7BY/fM7zvAk+5O0AGIDsE3kIbd3jjUCLytz7GjRIBtungdn kXVXo4OUZ0hsQexnDoTivzjaZA0n0tOoj2Yx4nH3UXmQPi0s3b70iIPAYFQPnkjdge1X vvZl2GBazKezPNRAL80hlwGok1sTWUbe/VmLgdE2BTZyieWYOtxUV5S9/tT1NPt0qRkq tS1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wfays52C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o10-20020a05622a044a00b003f6832a33bfsi3220584qtx.763.2023.06.06.00.14.19; Tue, 06 Jun 2023 00:14:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wfays52C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235227AbjFFGub (ORCPT + 99 others); Tue, 6 Jun 2023 02:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234018AbjFFGuZ (ORCPT ); Tue, 6 Jun 2023 02:50:25 -0400 Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EEB1E40 for ; Mon, 5 Jun 2023 23:50:24 -0700 (PDT) Received: by mail-vk1-xa36.google.com with SMTP id 71dfb90a1353d-463e368a74cso1096307e0c.0 for ; Mon, 05 Jun 2023 23:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686034223; x=1688626223; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6D8/A1EaMpr0fZI/q/93AmR2VPYJ65578K2QcmNIOO4=; b=Wfays52CAY5id1Tvb60S6cBe4OW7bTPCrqwUhOLQZCdBURdjyoDs4CKzv42NeTdTBA FCpdWsttL9AyZrImgWH3YaI+/r/3fL88i8VkQiYoGGxyPrJBl1gDMpJ1JzMWTnclt9ul QYe3R0itQEyVIffou7S6Ifu1AIKYIL7bgErmNQcPcsZCHQiD7Li0yadRRWxzT1T/OQy9 5YbtvGaq/3TVhvdPPs7OXj7DspG3vISjb04JD/dHiedItdW+J8kVAymtfGOiqMMWx9Eh sOYpucn3QZPIdzPoepcHtxcPcU57s0WUZt+/0KaQQXkHm1GO5YYbpgTvIFhbnPGElwKK YZtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686034223; x=1688626223; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6D8/A1EaMpr0fZI/q/93AmR2VPYJ65578K2QcmNIOO4=; b=EGgZTZDwkTXSQHmvFTyDfjrRHqLdOZvTEI7Ur5sKF6pKt6ca7VbbmSh204+kMPnIsj e7zLy1h40/nrXi375CB/zeMO/h2m47mSklbk4RWaD833bh2QTJPkUU9muyac3CofIyCt Wyj//aGMJ6m0X6YbN0Lxbps28hoK10xxG91I/bCCbXfaw4Vsb+T8LzFMyGcjbAI7mB4U 8CyuGebXrwLnz9W5O9Q7BcLU5NHoCF9L6UvYE2rXiiKDVGLjDwXM4ISH7uOSl3l6ABWB gRoQ92tlzsqVQ9lZXO3PpAxx6YnDb0c446G+F1EMf46iprLuDdzbu7PRZ5cOlWi8qOBE EESQ== X-Gm-Message-State: AC+VfDw9wKMVCd4vNU+i0Thzx2lJvSt2zLzeeyzuG8mZVRv66XAkyoxa EciPQ9OWKNS0JM1T8419ZB/YjYiriajYzyOJWCU+GA== X-Received: by 2002:a1f:c3c3:0:b0:43f:f4a3:7385 with SMTP id t186-20020a1fc3c3000000b0043ff4a37385mr407796vkf.7.1686034223556; Mon, 05 Jun 2023 23:50:23 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Tue, 6 Jun 2023 12:19:32 +0530 Message-ID: Subject: perf: arch/x86/tests/amd-ibs-via-core-pmu.c:47:25: error: 'pmus' undeclared To: linux-perf-users@vger.kernel.org, open list , lkft-triage@lists.linaro.org Cc: Arnaldo Carvalho de Melo , Arnaldo Carvalho de Melo , ravi.bangoria@amd.com, Peter Zijlstra Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Following warnings and errors noticed while building perf x86_64, Reported-by: Linux Kernel Functional Testing Build log: --------- arch/x86/tests/amd-ibs-via-core-pmu.c: In function 'test__amd_ibs_via_core_pmu': arch/x86/tests/amd-ibs-via-core-pmu.c:47:25: error: 'pmus' undeclared (first use in this function) 47 | if (list_empty(&pmus)) | ^~~~ arch/x86/tests/amd-ibs-via-core-pmu.c:47:25: note: each undeclared identifier is reported only once for each function it appears in arch/x86/tests/amd-ibs-via-core-pmu.c:48:17: error: implicit declaration of function 'perf_pmu__scan'; did you mean 'perf_pmus__scan'? [-Werror=implicit-function-declaration] 48 | perf_pmu__scan(NULL); | ^~~~~~~~~~~~~~ | perf_pmus__scan arch/x86/tests/amd-ibs-via-core-pmu.c:50:19: error: implicit declaration of function 'perf_pmu__find'; did you mean 'perf_pmus__find'? [-Werror=implicit-function-declaration] 50 | ibs_pmu = perf_pmu__find("ibs_op"); | ^~~~~~~~~~~~~~ | perf_pmus__find arch/x86/tests/amd-ibs-via-core-pmu.c:50:17: error: assignment to 'struct perf_pmu *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 50 | ibs_pmu = perf_pmu__find("ibs_op"); | ^ cc1: all warnings being treated as errors Links: ====== - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230606/testrun/17346999/suite/build/test/gcc-11-lkftconfig-perf/log - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230606/testrun/17346999/suite/build/test/gcc-11-lkftconfig-perf/history/ -- Linaro LKFT https://lkft.linaro.org