Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp53313pxk; Thu, 10 Sep 2020 23:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS1WtFrq5AF0/LGTm35yp5LEzXZYNdFiMr32P3WsLxaY5a6a119LYoEtwD9Qnh8R14PgBJ X-Received: by 2002:a17:907:648:: with SMTP id wq8mr615362ejb.291.1599805788979; Thu, 10 Sep 2020 23:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599805788; cv=none; d=google.com; s=arc-20160816; b=M4/Mdvu20loL3oyKZsCGxtCKWxaViwCAPPqSIyApCQH9JSiUfnME7W/O3gV7DBIjie x3mdy6Uam+64tSOzHZ5bMwgCGhBFhPm8cU0XNKFzZqszu/prUe6igCzk6sdaHlcSRHHi Rsy6vsXPY1HhvC3HuWQuHQv7rsPJ9wXdA1uzvQzcvTSf4eSUeIv/mx2D3sokR4raFiHa 9en8jmbLYbkxiTuLf7ySE6PKrBH4FYHOTnqkDaZk5r0YK478Nj5/TSC+kT4SaKdHWUhu NlcnQkfcxFHtW9DyB5r+dm/b7H7ZH6V9EL6uX9DlMKrWMxWEiKYhwoZR6/s1LLESisxC EKoQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=NLPWsXSEXCEzrzI1v7mttNIO0slYpD+3XoZ/mjXN9n4=; b=Lm9F0qkLVCTEJL3AhZ33In+M+UfCcioayvrc7KF7v5hwndAtkexpCVlM6p5UT7/Rpg PRFwWqexfwom3aFhahoseY6pTQ5hwb9nn69b8GuPMasVKOsp4Ndx9V1wK/ivZIWAlG4I GZiREChhdA8HExa9wrcKMKqZn+efo6jFz9NcL/nyPnJ++2e/Cqi/Ml68HCyISX4Uziv8 Agf/bMbeJYDULuZt5dzpDUVqmklGqh42OAOMenRx+aLNFVYUbRazRgHHclbFG4LkMzL0 DWt4+3tOzcs/zhvagNWmCwUWONHgdD8MPlJE5TE96rUWjbo8iCbaSqijtebjhkbipQ7l 5kaQ== 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 j11si619667edy.393.2020.09.10.23.29.25; Thu, 10 Sep 2020 23:29:48 -0700 (PDT) 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 S1725681AbgIKG2t (ORCPT + 99 others); Fri, 11 Sep 2020 02:28:49 -0400 Received: from foss.arm.com ([217.140.110.172]:53810 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725468AbgIKG2t (ORCPT ); Fri, 11 Sep 2020 02:28:49 -0400 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 4F40F106F; Thu, 10 Sep 2020 23:28:48 -0700 (PDT) Received: from [10.57.50.170] (unknown [10.57.50.170]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 24F8B3F68F; Thu, 10 Sep 2020 23:28:47 -0700 (PDT) Subject: Re: [PATCH v5] perf: arm_dsu: Support DSU ACPI devices To: tuanphan@amperemail.onmicrosoft.com Cc: will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1599694141-16056-1-git-send-email-tuanphan@os.amperecomputing.com> <202009102143.A4pW4A7I%lkp@intel.com> From: Suzuki K Poulose Message-ID: <6b04416d-497b-4687-2c79-08d029cf758d@arm.com> Date: Fri, 11 Sep 2020 07:33:23 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/10/2020 08:07 PM, Tuan Phan wrote: > Hi Will, > >> On Sep 10, 2020, at 6:40 AM, kernel test robot wrote: >> >> Hi Tuan, >> >> Thank you for the patch! Perhaps something to improve: >> >> [auto build test WARNING on linus/master] >> [also build test WARNING on v5.9-rc4 next-20200910] >> [If your patch is applied to the wrong git tree, kindly drop us a note. >> And when submitting patch, we suggest to use '--base' as documented in >> https://git-scm.com/docs/git-format-patch] >> >> url: https://github.com/0day-ci/linux/commits/Tuan-Phan/perf-arm_dsu-Support-DSU-ACPI-devices/20200910-105630 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ab29a807a7ddaa7c84d2f4cb8d29e74e33759072 >> config: arm64-randconfig-r012-20200909 (attached as .config) >> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0a5dc7effb191eff740e0e7ae7bd8e1f6bdb3ad9) >> reproduce (this is a W=1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # install arm64 cross compiling tool for clang build >> # apt-get install binutils-aarch64-linux-gnu >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 >> >> If you fix the issue, kindly add following tag as appropriate >> 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] >> static const struct acpi_device_id dsu_pmu_acpi_match[] = { >> ^ >> 1 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). Cheers Suzuki