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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09F22C433EF for ; Fri, 17 Jun 2022 20:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tOiUVQKp/VJxohf26435v1DS0j9JZEVeGsW7QtvgpT4=; b=l8n5FcAjcIUINt vk75nHAEPJJlp2Zb9mEhQFxWkIDYaoLdQaRTFz6z8xl6/Xc7412Lx48YpeAglXN/iHAW1GM+26u8v MfBsT3U+D5Od03hgNagsIfxCKdCndJJAapi+Ba78uzzHMoqJdW+rnYR9UBC2HnVVZFlnv6jXY7wII xPYZdpBi8aFb/A+A1TheIgVWl1J28uG7qgjTgSpLcR/VPafKJf1M2dg7e1KvGI0ZcpmTSBy5ZUJrC zpt0YgIeqgmW1JR0/P8LRPHLKpifUqJ0ncD2m5bpMyXLrz2nuVViOz0iahOOg3sffoFr2P+s4BuCY w8Bu9qG80PO6+HwDuUwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2I8R-008t0p-CX; Fri, 17 Jun 2022 20:00:03 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2I8O-008szu-6h for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2022 20:00:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655496000; x=1687032000; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=I6O+tT1WKTABORDiTianGo1w70+VipMrQwG+yDREyqo=; b=HYvxaAyn+m2NetHz0GmK6BoB/UTGO9sa/IoWsFOEeB041EfcskVeH7VS VJNmFlbI45HpY8nz5l1JVks3GFKM7V/qNd/MQUnOOzMIcoNr4sX/v26HD UfNio3QT3bRKnkX4incbCZOd7ilL83NBJktOGIahbV/ernoC53SX7jcBz /mo079KrDk7AuA56aCdCUW0CoxKgp5uJi5HSbdp0Ey8u7OMGd7DF8ULyY l5deQExJQF5kJY7mpeWMEiD97Qt43A9DRlsEHO73zH4kLdTaRSvtEEFiN BgGpF+iHtlw+x258UCyjsfU4PLeXC64hbQMrkOfQxcic9fMbv01h8CoM/ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="280636072" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="280636072" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2022 12:59:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="688445106" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 17 Jun 2022 12:59:54 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o2I8H-000Pij-Jp; Fri, 17 Jun 2022 19:59:53 +0000 Date: Sat, 18 Jun 2022 03:59:26 +0800 From: kernel test robot To: Shuai Xue , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, mark.rutland@arm.com Cc: kbuild-all@lists.01.org, baolin.wang@linux.alibaba.com, yaohongbo@linux.alibaba.com, nengchen@linux.alibaba.com, zhuo.song@linux.alibaba.com Subject: Re: [PATCH v1 2/3] drivers/perf: add DDR Sub-System Driveway PMU driver for Yitian 710 SoC Message-ID: <202206180343.eGENefte-lkp@intel.com> References: <20220617111825.92911-3-xueshuai@linux.alibaba.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220617111825.92911-3-xueshuai@linux.alibaba.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220617_130000_331085_F4CB8B92 X-CRM114-Status: GOOD ( 13.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Shuai, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v5.19-rc2 next-20220617] [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/intel-lab-lkp/linux/commits/Shuai-Xue/drivers-perf-add-DDR-Sub-System-Driveway-PMU-driver-for-Yitian-710-SoC/20220617-192123 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220618/202206180343.eGENefte-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.3.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/641441c43a62293dd0bae407fda7c229e8689617 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Shuai-Xue/drivers-perf-add-DDR-Sub-System-Driveway-PMU-driver-for-Yitian-710-SoC/20220617-192123 git checkout 641441c43a62293dd0bae407fda7c229e8689617 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/perf/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/perf/alibaba_uncore_drw_pmu.c:97:9: warning: no previous prototype for 'ali_drw_pmu_format_show' [-Wmissing-prototypes] 97 | ssize_t ali_drw_pmu_format_show(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/perf/alibaba_uncore_drw_pmu.c:110:9: warning: no previous prototype for 'ali_drw_pmu_event_show' [-Wmissing-prototypes] 110 | ssize_t ali_drw_pmu_event_show(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~ vim +/ali_drw_pmu_format_show +97 drivers/perf/alibaba_uncore_drw_pmu.c 96 > 97 ssize_t ali_drw_pmu_format_show(struct device *dev, 98 struct device_attribute *attr, char *buf) 99 { 100 struct dev_ext_attribute *eattr; 101 102 eattr = container_of(attr, struct dev_ext_attribute, attr); 103 104 return sprintf(buf, "%s\n", (char *)eattr->var); 105 } 106 107 /* 108 * PMU event attributes 109 */ > 110 ssize_t ali_drw_pmu_event_show(struct device *dev, 111 struct device_attribute *attr, char *page) 112 { 113 struct dev_ext_attribute *eattr; 114 115 eattr = container_of(attr, struct dev_ext_attribute, attr); 116 117 return sprintf(page, "config=0x%lx\n", (unsigned long)eattr->var); 118 } 119 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel