Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1033218lqj; Mon, 3 Jun 2024 08:18:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxFsBAbin5HQGQe3betTx1iIhJiaTkX/A89ty6jpqdaSe51rXl59AROYl3Osds2l4HSX2GztpC9shj4h76l5dZHe9rVRBJNo1+QZiEFg== X-Google-Smtp-Source: AGHT+IF/iWUt5UqAsAZned8buK+klNWFwk+VeWCd7HkryX+SuwgDFBTH5dM12nKUl7pVvOArrfJq X-Received: by 2002:a17:903:8c7:b0:1f4:9158:6b9 with SMTP id d9443c01a7336-1f6370a0cabmr117338465ad.47.1717427909263; Mon, 03 Jun 2024 08:18:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717427909; cv=pass; d=google.com; s=arc-20160816; b=OY1bUTEMwNd/McmWbrbHFjAxcnnVRo5QuvXLWcLEOtW4sFAfoPnQdmTDGmF908wTbP X8Od2mdpYhv18PI5tXjy0HHmc8F08CYe/wItLHPcZ6G4zRtvXynuxDnNt59w3l2wtZBN nCcXcU1HF/09VCD8/Qpo4b9OWnZGlpMDhSNL3yjvvxT+SjrKq/CvF4Pl12sJwhmCGqP6 e3baEjSUEkkMXwXeyvOnU2JzCEy8doCMYJfysjjWrREmS18tCJGVZq6D2x41PBafoY+X jU+1z5U2AQ0Pcru1LAZGsk3Dhe0g1rxrr/TClbWMBetyFynmdQHtblrTtE8s1jgkPyUH GL+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xFAqsVJJlNCVt2in264hkNmEqdejApTKJ3vhQYlzMwY=; fh=KDis1MvNWRNYJiD4oPrp9ojGogdr8vNzKN+JgWAbdxY=; b=SKDzkWYH0xzQ+uW1w5AODraEr1Nvk6I+FVKSyJCdYqR9/Y14vC/e/wM3WLoO219gD+ h8TYFQeXUEFU4VMmD2zKJvE/MGY50vO5QwH3kVY5BeAVDYhvTZvObU8bZjDoksTertaR joWY7bowO7eBONWl2Xdwgt8tuJLdTaFc6zTkTvXv0RmkoHTuCdzapNZfv3nbuEWysUSQ 0kp3EkVrMENuwzzjsMHAvUlTJIgILi7t/yDcPMNaFrZD0r8NmrgcWAZiNZsPlyIEV1wT F94qwsxBsKyINuA9hhcZjLjUsElBRBhNZRdVXnc92u7hWdC7ozCvhqtbM8TF5NP5/yni jY9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AqCUBfUJ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-199349-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f65a2054d1si39493035ad.87.2024.06.03.08.18.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 08:18:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199349-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AqCUBfUJ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-199349-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BA6642857FE for ; Mon, 3 Jun 2024 15:16:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03898130A4D; Mon, 3 Jun 2024 15:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="AqCUBfUJ" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE8546E619; Mon, 3 Jun 2024 15:16:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717427768; cv=none; b=qG8rn4HdFCTaBYeFjtrBVrXEfRDefdhcDPxyxUo4o2qPpQCvJr4myP0BiCsMf2WONbZ0Y2/0AbbX6ohiTw8O8Jm58bmlVeZNx5hJ+Fapzxt5WNexfvqITD7F/JvEZmTyDtrPspf/Kx0H8Z7M5g/DfEAc5JKae3MLgMOrpcvqBQk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717427768; c=relaxed/simple; bh=wn74DGayn2LhHF1DS4AIgDk5E4v/Hiu+0yxvri0+M6Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IG7uMri/j16bKbt3ekkkACLUy+F3WhFEl7NkoK9FmnVNPUP+wojC4oGOg3LUjRKOdzAYOl5jlv97OrJq85uRwYH5NuAkUxPEvRnUdujJjFZvOXYW3ktdxjlvsH5Xyxx6Ov+UaiOxBzAyl+0sP6B3lMM8/PAef27g4ZoVReF1jbY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=AqCUBfUJ; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com 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: GbivCDjjQw6wucZg4dtJLQ== X-CSE-MsgGUID: mukK42OFRMmYlxyx2mQRAA== X-IronPort-AV: E=McAfee;i="6600,9927,11092"; a="14050604" X-IronPort-AV: E=Sophos;i="6.08,211,1712646000"; d="scan'208";a="14050604" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240603094354.2348-3-quic_jinlmao@quicinc.com> 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