Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp310689imn; Wed, 27 Jul 2022 07:00:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uOHJy5Xq0SBFNzUIOpluiBNslOOs0skU7Y0c4AsBkYucOoKa6BP7y+bBgPnbiNhfD4u6SK X-Received: by 2002:a17:902:7285:b0:16c:ce55:9dba with SMTP id d5-20020a170902728500b0016cce559dbamr21309963pll.156.1658930413677; Wed, 27 Jul 2022 07:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658930413; cv=none; d=google.com; s=arc-20160816; b=OecZJ2wVd4bBE9pkNIvqgdpgUNvrromnEB0SJAUSE4Kkvee3QX/u4wrQbdlSaw4w5n fkyPfk1xKoOZohoT95KkH94JUDBrVQJ4XIQbwDI7iiQkbLnq/TUASmYlvs4XsRTFK0Si /WOU5PmaYJo90ue73An6qHhKCFKU6ot7+mjZ2Fw5eM2Ww6nEB8YVW/t59dNOHn9SbgCu ZJmEFtEJ+8mCht5KARvD7fzPppWHoxaIAdMEGe3EKnTByTlkVdFwwOKptXiV0eSigRDV UnSU8w3aQUHie1j0nPcASOp7CLsjZGHSLfMXfbZp2WgyhkzMXJlBnatfikuSfl+F6AgT vcYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vzgw+n6HuDWr838E5482nJFldupmNRBZ37jUTZpSc70=; b=rK+Lk43j5CmQb35RS14fm1LCxPToX3QZtP8Aqh7HLOPd01h1Ej42jK3YSrsUB9GHpQ pFXYSbFGc2KXJ0N5HCMP23TSPwrj6Lt1TJ8vs8KbFw27Jjno5LPfv0ZsvdfIGszvZDxF kBfWMoOUMVwZWwOhzLFkJ1Yxu4CBrI1jxnjaofk5w3/fzyPhKSJ8Rnlc1Jh18WpQ3HUG EgPjl+iMjx+tudEA4OYobWxCAR3VsiBqYa8PQ/Ggw4tRkrGOkbdD7+axyUOLYjwhX2TI Ys+IoFBGrX1ZiBP8eCRmeOhIYuzGtpXiqZOtnVd3WjxPprs3ibaNHFSwSEzBurCVyC46 m80w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FpreTkAs; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a170902eb8100b0016781796321si19669107plg.49.2022.07.27.06.59.57; Wed, 27 Jul 2022 07:00:13 -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=@intel.com header.s=Intel header.b=FpreTkAs; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233700AbiG0NZd (ORCPT + 99 others); Wed, 27 Jul 2022 09:25:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233572AbiG0NZa (ORCPT ); Wed, 27 Jul 2022 09:25:30 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9F39EE2E; Wed, 27 Jul 2022 06:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658928329; x=1690464329; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yNoz6gUDdCaF3+5NR4n7n9yqzCM4pJ5iaqzLtMQ2SD4=; b=FpreTkAsOMdPjK7luCmJXdk9UuqlXwaYsrbk2rJflWb1Z+nSrr//xJj3 7k27dvBnbiot6WGI3PQFT4J8wP+2lguvM8QySB/7HF9wWHDz8aa6ohbFE 2rh4VfI33w2EOs12AufgPy41sp5qNdrKPB7PRPlYRrAwB0k9jnkZhrEBb bBWaaj4Aoj8oJBMmPCwnqaSAXU2Bi3meV0JrRIyS5e9yvAbyoU0SEUdrA EwVYd0JFJ+JOt7eNiEeTvhcccCzd+380fSDziIW3mR1QEJqTioNvK1OL+ eORab60fYLv+n4Fhh5czQ/s78HCSlCeR8JBTVGBzJTmnQYfNr6e/II8X1 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10420"; a="275106290" X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="275106290" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2022 06:25:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,195,1654585200"; d="scan'208";a="668331743" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 27 Jul 2022 06:25:23 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oGh2R-0008k2-0b; Wed, 27 Jul 2022 13:25:23 +0000 Date: Wed, 27 Jul 2022 21:24:59 +0800 From: kernel test robot To: Jiucheng Xu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Cc: kbuild-all@lists.01.org, Rob Herring , Krzysztof Kozlowski , Will Deacon , Mark Rutland , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Chris Healy , Jiucheng Xu Subject: Re: [PATCH v2 1/4] perf/amlogic: Add support for Amlogic meson G12 SoC DDR PMU driver Message-ID: <202207272141.rn8Zx4Az-lkp@intel.com> References: <20220726230329.2844101-1-jiucheng.xu@amlogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220726230329.2844101-1-jiucheng.xu@amlogic.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 Hi Jiucheng, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on arm64/for-next/core clk/clk-next soc/for-next linus/master v5.19-rc8 next-20220726] [cannot apply to xilinx-xlnx/master] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jiucheng-Xu/perf-amlogic-Add-support-for-Amlogic-meson-G12-SoC-DDR-PMU-driver/20220727-070511 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220727/202207272141.rn8Zx4Az-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.0 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 # https://github.com/intel-lab-lkp/linux/commit/be1236818a5d0ad61b0f9ecbe5f03b9e63f99365 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jiucheng-Xu/perf-amlogic-Add-support-for-Amlogic-meson-G12-SoC-DDR-PMU-driver/20220727-070511 git checkout be1236818a5d0ad61b0f9ecbe5f03b9e63f99365 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/perf/amlogic/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/perf/amlogic/aml_ddr_pmu_core.c: In function 'event_show_unit': >> drivers/perf/amlogic/aml_ddr_pmu_core.c:208:38: warning: variable 'pmu_attr' set but not used [-Wunused-but-set-variable] 208 | struct perf_pmu_events_attr *pmu_attr; | ^~~~~~~~ drivers/perf/amlogic/aml_ddr_pmu_core.c: In function 'event_show_scale': drivers/perf/amlogic/aml_ddr_pmu_core.c:218:38: warning: variable 'pmu_attr' set but not used [-Wunused-but-set-variable] 218 | struct perf_pmu_events_attr *pmu_attr; | ^~~~~~~~ vim +/pmu_attr +208 drivers/perf/amlogic/aml_ddr_pmu_core.c 203 204 static ssize_t 205 event_show_unit(struct device *dev, struct device_attribute *attr, 206 char *page) 207 { > 208 struct perf_pmu_events_attr *pmu_attr; 209 210 pmu_attr = container_of(attr, struct perf_pmu_events_attr, attr); 211 return sysfs_emit(page, "MB\n"); 212 } 213 -- 0-DAY CI Kernel Test Service https://01.org/lkp