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 E8358C55182 for ; Mon, 3 Aug 2026 12:55:48 +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=QP1gv1KtBwNFk7/kA74jHt/nez/gj01dosMTZSD+IzQ=; b=t4NlU4Lr3CdZx8UgHxzR1AOpJ8 qbWRqvq5O6b8NSMO/OLhlH8qRmk1f1KOMMdANdWmiudFItqx8dZhF99FzWJDjQt4QW1hZpkmAdwS+ 8VGM2zNJ4qVn4fUA8xn4sZWG96gy4gRPyQTsJF/NLuWHzvpB3m8iJa4gMi8D1e4VxnCK6L+1jeb7Y SmnC3SY98Hv6bCitq2ROV3K4JhGbC/Cir7/E0afjNFIEaICx4MBLIASvSx/zbzz+vTqKufD5yVB4u 6sacxnKP2vMyumH/pzAbnvugD2bOCYnzeq8TXWxyiHQaNWFcZpS5KW7HF0MF/QqmaMnQ2ujl+bbXP O4QO4RoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wqsCp-0000000H5WH-2a7j; Mon, 03 Aug 2026 12:55:47 +0000 Received: from mgamail.intel.com ([198.175.65.16]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wqsCm-0000000H5V6-1p0d; Mon, 03 Aug 2026 12:55:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1785761744; x=1817297744; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Th0Wiu+Dicd+R2zy4lVM9VJScxk+BaVoF9bs+K4JhBw=; b=C0S5wqNjd+xq2lnDAo57NYRXZvJw91ky68iif2vGbxmZGn+IkaST1ws+ C4kZDdxaV7NSN+32g1qD9LE/Y97ekaZM2jKBDnG6EkVtEEas2Sfk6pE2W jXtuADPdRE3035oI6wwsIRNRVuBs2q3vKi0m9jfctKzp+SVcO2hfsyACL xLd7vZTJ4QPd5YYP+98uqfboB5NxlGM8DHsaPorr5EBP8FHOPBhoTzpY+ g7XOT0WVKofHv0m9dXwy9dPCy8YwOUfwOkOAwqCEn6XksrwmA/GXM9hXv 2HnzaridoEuw9Nt/HsH0AMrdlvRpxvC+n78NCMCEf+kaL/Fs96evcT/yY g==; X-CSE-ConnectionGUID: xJNT/OHcRmq8GlpnGefn9g== X-CSE-MsgGUID: ueVKLKfsSqeqtNNqJHeobw== X-IronPort-AV: E=McAfee;i="6800,10657,11864"; a="86497994" X-IronPort-AV: E=Sophos;i="6.25,202,1779174000"; d="scan'208";a="86497994" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2026 05:55:43 -0700 X-CSE-ConnectionGUID: +wzxwPWjTuyivh+Qz8rzIw== X-CSE-MsgGUID: URf5YnKhTKmKfzsllNgY0g== X-ExtLoop1: 1 Received: from lkp-server01.sh.intel.com (HELO 6eda058d650d) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 03 Aug 2026 05:55:40 -0700 Received: from kbuild by 6eda058d650d with local (Exim 4.98.2) (envelope-from ) id 1wqsCf-000000006x7-1an8; Mon, 03 Aug 2026 12:55:37 +0000 Date: Mon, 3 Aug 2026 20:55:13 +0800 From: kernel test robot To: Guangshuo Li , Bin Liu , Mauro Carvalho Chehab , Matthias Brugger , AngeloGioacchino Del Regno , Nicolas Dufresne , Fan Wu , Hans Verkuil , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, Guangshuo Li Subject: Re: [PATCH] media: mtk-jpeg: drain hardware completion before freeing context Message-ID: <202608032056.zBdPisX5-lkp@intel.com> References: <20260708120833.755998-1-lgs201920130244@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260708120833.755998-1-lgs201920130244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260803_055544_546981_EF9633CB X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi Guangshuo, kernel test robot noticed the following build errors: [auto build test ERROR on linuxtv-media-pending/master] [also build test ERROR on media-tree/master linus/master v7.2-rc6 next-20260731] [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/Guangshuo-Li/media-mtk-jpeg-drain-hardware-completion-before-freeing-context/20260803-143440 base: https://git.linuxtv.org/media-ci/media-pending.git master patch link: https://lore.kernel.org/r/20260708120833.755998-1-lgs201920130244%40gmail.com patch subject: [PATCH] media: mtk-jpeg: drain hardware completion before freeing context config: arm-randconfig-004-20260803 (https://download.01.org/0day-ci/archive/20260803/202608032056.zBdPisX5-lkp@intel.com/config) compiler: clang version 21.1.8 (https://github.com/llvm/llvm-project 2078da43e25a4623cab2d0d60decddf709aaea28) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260803/202608032056.zBdPisX5-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/202608032056.zBdPisX5-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1207:3: error: call to undeclared function 'mtk_jpeg_release_hw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1207 | mtk_jpeg_release_hw(jpeg, ctx); | ^ drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1207:3: note: did you mean 'mtk_jpeg_release'? drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c:1200:12: note: 'mtk_jpeg_release' declared here 1200 | static int mtk_jpeg_release(struct file *file) | ^ 1201 | { 1202 | struct mtk_jpeg_dev *jpeg = video_drvdata(file); 1203 | struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file); 1204 | 1205 | if (jpeg->variant->jpeg_worker) { 1206 | cancel_work_sync(&ctx->jpeg_work); 1207 | mtk_jpeg_release_hw(jpeg, ctx); | ~~~~~~~~~~~~~~~~~~~ | mtk_jpeg_release 1 error generated. vim +/mtk_jpeg_release_hw +1207 drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c 1199 1200 static int mtk_jpeg_release(struct file *file) 1201 { 1202 struct mtk_jpeg_dev *jpeg = video_drvdata(file); 1203 struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file); 1204 1205 if (jpeg->variant->jpeg_worker) { 1206 cancel_work_sync(&ctx->jpeg_work); > 1207 mtk_jpeg_release_hw(jpeg, ctx); 1208 } 1209 1210 mutex_lock(&jpeg->lock); 1211 v4l2_m2m_ctx_release(ctx->fh.m2m_ctx); 1212 v4l2_ctrl_handler_free(&ctx->ctrl_hdl); 1213 v4l2_fh_del(&ctx->fh, file); 1214 v4l2_fh_exit(&ctx->fh); 1215 kfree(ctx); 1216 mutex_unlock(&jpeg->lock); 1217 return 0; 1218 } 1219 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki