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 03922CCD1BC for ; Thu, 23 Oct 2025 04:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oEDbvQx7O8BVbN/kE/G/IAm3rHkVtCoL2U09lj9VNO4=; b=2WjNT+NtzeEJ3Z1OGTy7Pv5KcP Z4kwKO69yZh1J/2hT+SAyUF29Mj51juKq+wnryqnBdv+48lapqzX+8OL6U9+Pzhf1CzYM8NJ8E8eZ zOZqoaclVLSzpOKhsOrKpspxH4I0bmczG0NpdYD4sZiybKnaIAfW2V95/ibvceVxtjXB9EiwizhmH FQwiE0jiFTV1UjJnIQMCoyJsj0YibH8ZuPw9LDH8v97v11ZM3XLVv2UVdIG/WW6+P0zlRkqYhbVTq JfnL6LV//bXfNuw7TKgzvGXjp+5LOsKspRZj1aAtLDPVK4Y/pRvYf+T0tkFR09h3rJs2nt6pSYa5c pEaZXKXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vBmkM-000000051Ai-3Twg; Thu, 23 Oct 2025 04:16:18 +0000 Received: from mgamail.intel.com ([198.175.65.17]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vBmkK-000000051AG-0MEH for linux-arm-kernel@lists.infradead.org; Thu, 23 Oct 2025 04:16:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761192976; x=1792728976; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6qjfKhCFpW3nxPdf3q9ksCTq53TGoLVq65HUGLHWQeQ=; b=VVwvxDew927b/oC/ac/3eO/80T9E1ptI3IqFNOjRQzpWdEh7QF9+nY1f To+zkixm/p2/orGmEZnF3JwKCR697K1L7ri9wx1eEgaQ89PnY0GUDb2q+ nCRoqoh3B8SMzEPjqUHhgW3Od76cYM6/0UxV4bIa5pffR1R6/FN3bKyfQ +j3iZh+tFtE0UHbW8VrkMrUhog7JOIoaYVLzs0AEk3EtnQIr2nqX1YtSC pM5eB/Cxx6KY30+SfP4mN0gpUgr9Hq3Orq+TKONxkDP+ztGo3WD36GfSY VVw9Ll9vy4ZBk4XpQF8hxAfTSh8FJx7N98w9eZbOe0mGkFcP4hbkgr+Qg Q==; X-CSE-ConnectionGUID: afEmMKWEQSW9zSwSnO5iCg== X-CSE-MsgGUID: bA+AkQc/T+mQ5WNW0C4SUw== X-IronPort-AV: E=McAfee;i="6800,10657,11531"; a="63274815" X-IronPort-AV: E=Sophos;i="6.17,312,1747724400"; d="scan'208";a="63274815" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa109.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> 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251022_211616_184397_3EB479F2 X-CRM114-Status: GOOD ( 13.99 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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