From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 6E8C415E97; Thu, 23 Oct 2025 04:16:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761192977; cv=none; b=QHerxskjtFxb7eDy5oJ56OImv3qZP70LZNRzUkNvEWDspHbOutQuPmRndGmeVApGw0cLc3ScNaX7RsUpULhaEtD4hLyGlwkYqI1mL6sXPN45MT1T8dzFxEmrb4kGFocLsErFOOR7lXSG7YUisnwB8tA6Pcp8bBrRY4haqWyeSIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761192977; c=relaxed/simple; bh=6qjfKhCFpW3nxPdf3q9ksCTq53TGoLVq65HUGLHWQeQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VWSZrbLiL072idt1GywkRqJWLDjYKLK7+KKBeHF2pGMQHpO40jI0V0OxXzU7jKZpz83FfqPSKNc+chPtB8K1HEHqvHQ5moQzCFVtIBwEKx9CW/6wsU0kPMjoeLQwnSw9iaB9NOfG3mjz+jFPyiJMKIT9xmwmjNY+S+pD/01Zgpg= 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=WNR2LIJn; arc=none smtp.client-ip=198.175.65.15 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WNR2LIJn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761192975; x=1792728975; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6qjfKhCFpW3nxPdf3q9ksCTq53TGoLVq65HUGLHWQeQ=; b=WNR2LIJnc/GrKN8Id9SKK2MoQGYPdCUain6UPPkABBzN7HsmQhWv/Gjb Dd4T/WAZomqCX/zReqWyXz/H5kRj/oh9hKO9hKy/EH48QuCESQ9W6MGCD nmZgH48l+9ZkJgnudRzVOvcGLj14q5FumcZ6De25LmhIBdkvDGts7Nuq/ QNidBq65tqi5r9OdCllT7U53Rms9xcKm2zhlfnBr93SGkAabyFTEjdEj8 IhBeJH/L8o72Co7345kbRErEF9Km1669CERhw5/1Mbocj7VwZzvYHTxRd IL9J6kEke1PqpkvkcJ0nR2UrZxaxv9Px/nK0Kc0UXJg4I/nkHh5O9OWDn A==; X-CSE-ConnectionGUID: ISKqG3O3Rc6sAPjtlyZWwA== X-CSE-MsgGUID: F3a2OoIQQCSt6YbtN68Hxw== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="66996528" X-IronPort-AV: E=Sophos;i="6.19,248,1754982000"; d="scan'208";a="66996528" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2025 21:16:15 -0700 X-CSE-ConnectionGUID: NVNLIeA3SvKuDnsRXMUh8w== X-CSE-MsgGUID: cKr3VAJ2Q3OI8L/aitKNqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,248,1754982000"; d="scan'208";a="183945184" Received: from lkp-server02.sh.intel.com (HELO 66d7546c76b2) ([10.239.97.151]) by orviesa007.jf.intel.com with ESMTP; 22 Oct 2025 21:16:10 -0700 Received: from kbuild by 66d7546c76b2 with local (Exim 4.96) (envelope-from ) id 1vBmjU-000D0j-3C; Thu, 23 Oct 2025 04:15:34 +0000 Date: Thu, 23 Oct 2025 12:12:54 +0800 From: kernel test robot To: Yingchao Deng , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Jonathan Corbet , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue Cc: oe-kbuild-all@lists.linux.dev, Yingchao Deng , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, quic_yingdeng@quicinc.com, Tingwei Zhang , Yuanfang Zhang , Jinlong Mao Subject: Re: [PATCH v3] stm: class: Add MIPI OST protocol support Message-ID: <202510231127.UFDSOpIQ-lkp@intel.com> References: <20251022071834.1658684-1-yingchao.deng@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-trace-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: <20251022071834.1658684-1-yingchao.deng@oss.qualcomm.com> Hi Yingchao, kernel test robot noticed the following build errors: [auto build test ERROR on atorgue-stm32/stm32-next] [also build test ERROR on linus/master v6.18-rc2 next-20251022] [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/Yingchao-Deng/stm-class-Add-MIPI-OST-protocol-support/20251022-152642 base: https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git stm32-next patch link: https://lore.kernel.org/r/20251022071834.1658684-1-yingchao.deng%40oss.qualcomm.com patch subject: [PATCH v3] stm: class: Add MIPI OST protocol support config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20251023/202510231127.UFDSOpIQ-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251023/202510231127.UFDSOpIQ-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/202510231127.UFDSOpIQ-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/hwtracing/stm/p_ost.c: In function 'ost_write': >> drivers/hwtracing/stm/p_ost.c:201:27: error: implicit declaration of function 'task_tgid_nr' [-Wimplicit-function-declaration] 201 | hdr.tgid = task_tgid_nr(current); | ^~~~~~~~~~~~ drivers/hwtracing/stm/p_ost.c:172:13: warning: unused variable 'i' [-Wunused-variable] 172 | int i; | ^ vim +/task_tgid_nr +201 drivers/hwtracing/stm/p_ost.c 154 155 static ssize_t 156 notrace ost_write(struct stm_data *data, struct stm_output *output, 157 unsigned int chan, const char *buf, size_t count, 158 struct stm_source_data *source) 159 { 160 unsigned int c = output->channel + chan; 161 unsigned int m = output->master; 162 const unsigned char nil = 0; 163 u32 header = DATA_HEADER; 164 struct trc_hdr { 165 u16 version; 166 u16 magic; 167 u32 cpu; 168 u64 timestamp; 169 u64 tgid; 170 } hdr; 171 ssize_t sz; 172 int i; 173 struct ost_output *op = output->pdrv_private; 174 175 /* 176 * Identify the source by entity type. 177 * If entity type is not set, return error value. 178 */ 179 if (op->node.entity_type) 180 header |= ost_entity_value[op->node.entity_type]; 181 else 182 return -EINVAL; 183 184 /* 185 * STP framing rules for OST frames: 186 * * the first packet of the OST frame is marked; 187 * * the last packet is a FLAG with timestamped tag. 188 */ 189 /* Message layout: HEADER / DATA / TAIL */ 190 /* HEADER */ 191 sz = data->packet(data, m, c, STP_PACKET_DATA, STP_PACKET_MARKED, 192 4, (u8 *)&header); 193 if (sz <= 0) 194 return sz; 195 196 /* DATA */ 197 hdr.version = STM_MAKE_VERSION(0, 3); 198 hdr.magic = STM_HEADER_MAGIC; 199 hdr.cpu = raw_smp_processor_id(); 200 hdr.timestamp = sched_clock(); > 201 hdr.tgid = task_tgid_nr(current); 202 sz = stm_data_write(data, m, c, false, &hdr, sizeof(hdr)); 203 if (sz <= 0) 204 return sz; 205 206 sz = stm_data_write(data, m, c, false, buf, count); 207 208 /* TAIL */ 209 if (sz > 0) 210 data->packet(data, m, c, STP_PACKET_FLAG, 211 STP_PACKET_TIMESTAMPED, 0, &nil); 212 213 return sz; 214 } 215 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki