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 47BADC25B75 for ; Mon, 3 Jun 2024 15:16:20 +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=iHQlMKwOryEluO8yVcnAabbrMKnpWdCm2oZetsN26gM=; b=0/sgn/oSt8YX1v uyarfwsVHXF3RQ1vHBHUogQ4gZvQBQtfjjSdtcpsAhiQrETHxJv3h1BzfogQLqlNB2jH+AHce8CQ0 YIP8/+Rr1Qmgr2SnMd/NkQiFi6MZolGmU0K5af3kgUwdMBjFP8RCVqcIs2YfR6SIR1ZSn9p1YogzU HrzKbCU6Bt+2e6vnTqNL+d4G3l9caphHn93OsE+KrzW3LS+BYUytRBBeEI2wEWgip4H2A0m7WBrhS DOwMWssYBwQWeAyR1QDkM+RWOM6g0/h12oLYQ3kjRkSiFBM4+p8Nr2eta5Wb2eOHw/jxsMWM12nEb mMbljo6c30DJwg6KFBDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sE9Pt-0000000HCuW-1W3C; Mon, 03 Jun 2024 15:16:09 +0000 Received: from mgamail.intel.com ([198.175.65.16]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sE9Pq-0000000HCsX-1xQO for linux-arm-kernel@lists.infradead.org; Mon, 03 Jun 2024 15:16:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717427766; x=1748963766; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wn74DGayn2LhHF1DS4AIgDk5E4v/Hiu+0yxvri0+M6Y=; b=AqCUBfUJmBXUJu20t9z3b6GR5o03Nr9QNdJV84tvWlcLkR+JI5yqCX3E 1/JRZn6zaQCfIMIhutPVrzXSKRgpg7ie77y/P2F1ObLtuntpWFDLpAjDt ls2guuWEKC2Jpo5b5Nxn6HUzwAG0RoveCORHrvpiOxAaTBVP3MS/eP4fj ah910qyBzW5sB/8nNrbCM4qRxHrr56Bq5wp8nbHatmcZLaTy50IKa1FXY GZBdBCuIiJSopOs8KIwSMK2iQ6VU0C/xW6K1VhN0GSzCWlZ9CUEuXi7aP TXRRoV5zbLLvfcwCAxXlTLTWXaqDFx0onsN4QI/5v+vha6nXd+mKmCdno w==; X-CSE-ConnectionGUID: 2ljj45olSWirL/8abWvsAg== X-CSE-MsgGUID: 0oQKFsnpRQaY08fhDI5QrQ== X-IronPort-AV: E=McAfee;i="6600,9927,11092"; a="14050607" X-IronPort-AV: E=Sophos;i="6.08,211,1712646000"; d="scan'208";a="14050607" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2024 08:16:05 -0700 X-CSE-ConnectionGUID: E5y3S27MSJOx6GJBW1SKRg== X-CSE-MsgGUID: uTkr4zqHT6Cip7CLKCXx7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,211,1712646000"; d="scan'208";a="37493984" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa008.jf.intel.com with ESMTP; 03 Jun 2024 08:16:01 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sE9Pi-000LnG-2U; Mon, 03 Jun 2024 15:15:58 +0000 Date: Mon, 3 Jun 2024 23:15:32 +0800 From: kernel test robot To: Mao Jinlong , Suzuki K Poulose , Mike Leach , James Clark , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexander Shishkin Cc: oe-kbuild-all@lists.linux.dev, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Tao Zhang , songchai Subject: Re: [PATCH v2 2/3] coresight: Add support to get preferred id for system trace sources Message-ID: <202406032259.9poyd8Ts-lkp@intel.com> References: <20240603094354.2348-3-quic_jinlmao@quicinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240603094354.2348-3-quic_jinlmao@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240603_081606_618671_358F63A3 X-CRM114-Status: GOOD ( 14.34 ) 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 Mao, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on atorgue-stm32/stm32-next linus/master v6.10-rc2 next-20240603] [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/Mao-Jinlong/dt-bindings-arm-Add-trace-id-for-coresight-dummy-source/20240603-175023 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20240603094354.2348-3-quic_jinlmao%40quicinc.com patch subject: [PATCH v2 2/3] coresight: Add support to get preferred id for system trace sources config: arm-randconfig-001-20240603 (https://download.01.org/0day-ci/archive/20240603/202406032259.9poyd8Ts-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240603/202406032259.9poyd8Ts-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202406032259.9poyd8Ts-lkp@intel.com/ All error/warnings (new ones prefixed by >>): >> drivers/hwtracing/coresight/coresight-platform.c:797:12: error: redefinition of 'of_coresight_get_trace_id' 797 | static int of_coresight_get_trace_id(struct device *dev, u32 *id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-platform.c:191:12: note: previous definition of 'of_coresight_get_trace_id' with type 'int(struct device *, u32 *)' {aka 'int(struct device *, unsigned int *)'} 191 | static int of_coresight_get_trace_id(struct device *dev, u32 *id) | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/hwtracing/coresight/coresight-platform.c:191:12: warning: 'of_coresight_get_trace_id' defined but not used [-Wunused-function] -- drivers/hwtracing/coresight/coresight-tpda.c: In function 'tpda_init_default_data': >> drivers/hwtracing/coresight/coresight-tpda.c:254:16: error: too few arguments to function 'coresight_trace_id_get_system_id' 254 | atid = coresight_trace_id_get_system_id(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/hwtracing/coresight/coresight-tpda.c:20: drivers/hwtracing/coresight/coresight-trace-id.h:126:5: note: declared here 126 | int coresight_trace_id_get_system_id(int id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/of_coresight_get_trace_id +797 drivers/hwtracing/coresight/coresight-platform.c 796 > 797 static int of_coresight_get_trace_id(struct device *dev, u32 *id) 798 { 799 return -ENODEV; 800 } 801 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel