Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3782373rwl; Mon, 10 Apr 2023 00:32:45 -0700 (PDT) X-Google-Smtp-Source: AKy350a324qEb753SFljCXHpWaHgqfd+Jv/w5gqqT96qAjE3C9PCPhogTG4zZZ8MSu6n7pqGFRZH X-Received: by 2002:a17:906:895:b0:948:eed:b4e0 with SMTP id n21-20020a170906089500b009480eedb4e0mr7120085eje.61.1681111965539; Mon, 10 Apr 2023 00:32:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681111965; cv=none; d=google.com; s=arc-20160816; b=Pu97CBAXUmc1hDWcoBCdiH+nORymH8rZ7HeuVNu6i0coCZh9pmhjPrJ8Eg7gjSf0Ry e+e2bvnFisrIj1kbXsR5wGYdC7qYnwmAN8gXAmtkxsw204fsDAo0/Jl6VUlLC5AAyX2V QK48nWSeowDNvJZyw6C1mymJ+6iAn2Kt8PfgSg7ewdB1KLSczxn9H0Tb6g8ULc01Oe/Q uqMb1ZqMCFEgg5V3s6hUsUWiyW5D9z7qgN9azrmNbkG+r0qADv/EiRk/A7NYlRW6uRIb IY5n+dTogF4LObZM/23Y5HTe4DH4/COngNdHw3pAcDEIlkSuL4bQ0YkQr0M8JwUP3a4O vIhQ== 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=6kJOFm/K5hg39lhh+2E65aO/vE55Y7Mejp0grwsXWz0=; b=alkFCKsEZgF8tQFX4phToJ9AtAtc6u7Pc16iA08ciusaBc+2MFHfpXZITkSt+yCW5K xWltlq0umPCcsYegefeJOSoTABhWnchAKqn0siJ6W6yJl5C1+nG5MBPEpbVPzoG1+usI L2jnQn0t7fFGMD3BawpCIwwI79tvh9VSGnztlUn2ugYrTkmMEOTNrsrRUyLnFaTrpyMR EP4RBNss+aETvI3UQ722NkiVP7ZG2XXf1ERF5vE//PoZKQJ69eVHLH0w7Q7efc8XESp1 xhM5kG+Zro/QutLqaKgrC1vWjicxT4t8Us+Fjdu9Sdk07iqMHctyok38HdObDnmGXX2A sv9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="F++Dpp7/"; 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 r6-20020aa7d586000000b00501d18f4652si7404104edq.501.2023.04.10.00.32.21; Mon, 10 Apr 2023 00:32:45 -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="F++Dpp7/"; 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 S229690AbjDJHZY (ORCPT + 99 others); Mon, 10 Apr 2023 03:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjDJHZW (ORCPT ); Mon, 10 Apr 2023 03:25:22 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8271B3AB3; Mon, 10 Apr 2023 00:25:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681111521; x=1712647521; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8FC/BfVa04LNe6x9xGRVjTagWe8e1Y6VfA8cIDMTxKo=; b=F++Dpp7/Zs8HUOpIzsMl3t3d4sIbYKddVlYdC2DEoEZA2qkyrLoN5i0A J3M0FwOM15e4HzyGmNMg0Z3cMpTjBBktwVWrsHLZydaw+IHv0bclACs/B sZhvxJCMhcis7ukzibNHE6dmVv2WmVTPm3Yn7r8vXtnefiR5wTmHzjVWo Qf01eKGioGKwftPMIx3d/0Vx02qgcRuqgVpj77crDPcmY1e6SHG7PVSqS RiIKhm2adlUvcGxwnnaAtzfQR9p7LSotNvu+OIjvxWOPRrA2qbXZ/KKFQ oOb71G/lf+GhoR25McxXnsWQlJcBU0F8FFs7+1u/khYSi4pE072tkpaYf A==; X-IronPort-AV: E=McAfee;i="6600,9927,10675"; a="322937895" X-IronPort-AV: E=Sophos;i="5.98,333,1673942400"; d="scan'208";a="322937895" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2023 00:25:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10675"; a="799420882" X-IronPort-AV: E=Sophos;i="5.98,333,1673942400"; d="scan'208";a="799420882" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 10 Apr 2023 00:25:17 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pllts-000VCr-1m; Mon, 10 Apr 2023 07:25:16 +0000 Date: Mon, 10 Apr 2023 15:25:11 +0800 From: kernel test robot To: Shuai Xue , helgaas@kernel.org, yangyicong@huawei.com, will@kernel.org, Jonathan.Cameron@huawei.com Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, rdunlap@infradead.org, robin.murphy@arm.com, mark.rutland@arm.com, baolin.wang@linux.alibaba.com, zhuo.song@linux.alibaba.com, xueshuai@linux.alibaba.com Subject: Re: [PATCH v2 2/3] drivers/perf: add DesignWare PCIe PMU driver Message-ID: <202304101501.5weSAuW5-lkp@intel.com> References: <20230410031702.68355-3-xueshuai@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230410031702.68355-3-xueshuai@linux.alibaba.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE autolearn=unavailable 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 Shuai, kernel test robot noticed the following build warnings: [auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v6.3-rc6 next-20230406] [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/Shuai-Xue/drivers-perf-add-DesignWare-PCIe-PMU-driver/20230410-121727 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next patch link: https://lore.kernel.org/r/20230410031702.68355-3-xueshuai%40linux.alibaba.com patch subject: [PATCH v2 2/3] drivers/perf: add DesignWare PCIe PMU driver config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20230410/202304101501.5weSAuW5-lkp@intel.com/config) compiler: s390-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/279673b15957e3ea9c14fded1e41a861a6d8b2d9 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Shuai-Xue/drivers-perf-add-DesignWare-PCIe-PMU-driver/20230410-121727 git checkout 279673b15957e3ea9c14fded1e41a861a6d8b2d9 # 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=s390 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304101501.5weSAuW5-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/perf/dwc_pcie_pmu.c:195:9: warning: no previous prototype for 'dwc_pcie_event_show' [-Wmissing-prototypes] 195 | ssize_t dwc_pcie_event_show(struct device *dev, | ^~~~~~~~~~~~~~~~~~~ vim +/dwc_pcie_event_show +195 drivers/perf/dwc_pcie_pmu.c 194 > 195 ssize_t dwc_pcie_event_show(struct device *dev, 196 struct device_attribute *attr, char *page) 197 { 198 struct dwc_pcie_event_attr *eattr; 199 200 eattr = container_of(attr, typeof(*eattr), attr); 201 202 if (eattr->type == DWC_PCIE_LANE_EVENT) 203 return sprintf(page, "eventid=0x%lx, type=0x%lx, lane=0x%lx\n", 204 (unsigned long)eattr->eventid, 205 (unsigned long)eattr->type, 206 (unsigned long)eattr->lane); 207 else 208 return sprintf(page, "eventid=0x%lx, type=0x%lx", 209 (unsigned long)eattr->eventid, 210 (unsigned long)eattr->type); 211 } 212 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests