From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C78C2C43461 for ; Tue, 15 Sep 2020 08:18:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1924C21974 for ; Tue, 15 Sep 2020 08:18:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gl0dY0e6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1924C21974 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=q3gf7Cd8RQeScFpZtlw3dBHC1FCAUghQasLEVA/QZYA=; b=gl0dY0e6pnR8iLIPutNo3f2lb +DtIN6rbb3hbWsQWwkkXgFttveNZZzQFS2el6S3xfejDwxuGMpaNH58SHiL+YNjB+8tzL7exNwHco od3rhTlFBpGeVen5hWUMZiyXVbCcGtnoMgWgOmgup54fxF1+pENqAOKbumijsM0uvNPEA7TsUS7lw 7iTlxchLtQhez2L7Ign8nhEzVrCQIS9/dnNZ5/mWEjm5TmxlxQV9Y5bQ/Uzxb6ukb7wZMvI13+i10 8AY6XfQpSYMvHhVnhsbQk/XfVXzrEXUJv27N82QbNe2ir34iIkgBGDIoRwkOwCFE3tnCUvuUD47uv W4ct5A/vg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kI695-0006Ma-Dv; Tue, 15 Sep 2020 08:16:59 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kI691-0006Lp-QD for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 08:16:56 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A653930E; Tue, 15 Sep 2020 01:16:52 -0700 (PDT) Received: from [10.57.48.219] (unknown [10.57.48.219]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 813B83F68F; Tue, 15 Sep 2020 01:16:51 -0700 (PDT) Subject: Re: [PATCH v5] perf: arm_dsu: Support DSU ACPI devices To: tuanphan@amperemail.onmicrosoft.com References: <1599694141-16056-1-git-send-email-tuanphan@os.amperecomputing.com> <202009102143.A4pW4A7I%lkp@intel.com> <6b04416d-497b-4687-2c79-08d029cf758d@arm.com> <05A48968-34CD-41DA-9699-0FC051D8553B@amperemail.onmicrosoft.com> From: Suzuki K Poulose Message-ID: <01794d54-4aeb-431d-dd67-d56ec231a19e@arm.com> Date: Tue, 15 Sep 2020 09:21:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <05A48968-34CD-41DA-9699-0FC051D8553B@amperemail.onmicrosoft.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_041655_931646_BBC203E7 X-CRM114-Status: GOOD ( 15.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, will@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="windows-1252"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Tuan On 09/14/2020 05:21 PM, Tuan Phan wrote: >>>> Reported-by: kernel test robot > >>>> >>>> All warnings (new ones prefixed by >>): >>>> >>>>>> drivers/perf/arm_dsu_pmu.c:799:36: warning: unused variable = >>>>>> 'dsu_pmu_acpi_match' [-Wunused-const-variable] >>>> =A0=A0static const struct acpi_device_id dsu_pmu_acpi_match[] =3D { >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0^ >>>> =A0=A01 warning generated. >>>> >>> Do you need me to fix this warning when CONFIG_ACPI not defined? >> >> Yes, please. The kernel should compile fine in any config. Any compiler >> warning is not good (unless the compiler is wrong). > = > I will fix it. I asked because with no CONFIG_ACPI, i saw the same = > message on other drivers. Please could you share the logs here, we could fix them too. Or patches welcome. Cheers Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel