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 516D7C83F1A for ; Fri, 18 Jul 2025 10:17:13 +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=tQnlv++hcRI0TmeoT9gA5ey5dQEYLge29/12JQ/2PYc=; b=NojFFoK1NO4mYS8VateTvlTgg8 KpBW24559V95aW4aVaAuZuqoJkrN2wb9rkjiFQtC/2CqnyusEX7t7+PobVJ0ZiLLa5K6uELvjeA7a IuP2G38BNH4bEqNvP+AESoPuORhzModT2fGRQiUSdr49KPPgD7rIYSKqqwkpFXdoJhv3l5oaoCftr gf7Sip5WX3TJ4kdxmRf0xoJ7WG763t9DLAig9rJ/s+FyQ3j71finSStJoWoiMtc6Kkt/785obyfxt D17UDhWALD5ZpiKeAxE6WJNxHW0SC5dFVLR5UkqH6FH8nGwvq2GuKwv4PEZg43RaCh2loNEYlpRe/ UeI3pQBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uci9K-0000000CHVk-1Wst; Fri, 18 Jul 2025 10:17:06 +0000 Received: from mgamail.intel.com ([192.198.163.16]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uchUQ-0000000CCaA-47bB; Fri, 18 Jul 2025 09:34:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1752831291; x=1784367291; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IRZ6eW/IHF7BaJPyLxlRyPGJhIBXJU4DVyfIU35NfdA=; b=DE2Rp8tW5fQyi7w/6CIzDvxlBoFN60Csfa2OaXzCT2rOobWGKS1IkWmV lmKAiRUJ9FH8gTwpWUiH0q1z+GfBKv+UEAUIj9lrbUxq+elBIbb/SV1wG nTW9uK6CpgdAw9Sv2w7hR2clY9tSzYncTLiqkPlSh9Qtwb10DBssbN2Gq h4szxrqbZu4+mhGB81LI6+UbCETrYwcXOV88LLVjDLDu8YNgxs109/v0e M0Xfwf3hkeQ3wqOUU0geX5RlUgOKUI9hp5fPQVEFmDenEzERvoK3nm/6T FxAqfBQKp1AJhGUs5MK7no1xTnaXhpBAGXRmYYVVWMelmQpypVrA4Ldql g==; X-CSE-ConnectionGUID: xCILPP68TROnGlVC1+OGUw== X-CSE-MsgGUID: yR4Nr9eXT6qdnyCH6BmWgg== X-IronPort-AV: E=McAfee;i="6800,10657,11495"; a="42745797" X-IronPort-AV: E=Sophos;i="6.16,321,1744095600"; d="scan'208";a="42745797" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2025 02:34:51 -0700 X-CSE-ConnectionGUID: 0Fen4lgZRp6H3IhGQ8OvOQ== X-CSE-MsgGUID: SFl6ENtfTHm7C6s1bpaAaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,321,1744095600"; d="scan'208";a="158096101" Received: from lkp-server01.sh.intel.com (HELO 9ee84586c615) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 18 Jul 2025 02:34:46 -0700 Received: from kbuild by 9ee84586c615 with local (Exim 4.96) (envelope-from ) id 1uchUJ-000EVf-34; Fri, 18 Jul 2025 09:34:43 +0000 Date: Fri, 18 Jul 2025 17:33:44 +0800 From: kernel test robot To: Jacopo Mondi , Sakari Ailus , Laurent Pinchart , Tomi Valkeinen , Kieran Bingham , Nicolas Dufresne , Mauro Carvalho Chehab , Tomasz Figa , Marek Szyprowski , Raspberry Pi Kernel Maintenance , Florian Fainelli , Broadcom internal kernel review list , Hans Verkuil Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jacopo Mondi Subject: Re: [PATCH 09/26] media: v4l2-dev: Add video_device_context_from_file() Message-ID: <202507181702.W5iinHRF-lkp@intel.com> References: <20250717-multicontext-mainline-2025-v1-9-81ac18979c03@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250717-multicontext-mainline-2025-v1-9-81ac18979c03@ideasonboard.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250718_023451_030879_9634EA3E X-CRM114-Status: GOOD ( 12.50 ) 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 Jacopo, kernel test robot noticed the following build warnings: [auto build test WARNING on d968e50b5c26642754492dea23cbd3592bde62d8] url: https://github.com/intel-lab-lkp/linux/commits/Jacopo-Mondi/media-mc-Add-per-file-handle-data-support/20250717-190546 base: d968e50b5c26642754492dea23cbd3592bde62d8 patch link: https://lore.kernel.org/r/20250717-multicontext-mainline-2025-v1-9-81ac18979c03%40ideasonboard.com patch subject: [PATCH 09/26] media: v4l2-dev: Add video_device_context_from_file() config: x86_64-buildonly-randconfig-004-20250718 (https://download.01.org/0day-ci/archive/20250718/202507181702.W5iinHRF-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250718/202507181702.W5iinHRF-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/202507181702.W5iinHRF-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/media/v4l2-core/v4l2-dev.c:1184:1: warning: no previous prototype for function 'video_device_context_from_file' [-Wmissing-prototypes] 1184 | video_device_context_from_file(struct file *filp, struct video_device *vfd) | ^ drivers/media/v4l2-core/v4l2-dev.c:1183:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 1183 | struct video_device_context * | ^ | static 1 warning generated. vim +/video_device_context_from_file +1184 drivers/media/v4l2-core/v4l2-dev.c 1182 1183 struct video_device_context * > 1184 video_device_context_from_file(struct file *filp, struct video_device *vfd) 1185 { 1186 struct v4l2_fh *vfh = 1187 test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) ? filp->private_data 1188 : NULL; 1189 1190 /* If the file handle has been bound to a context return it. */ 1191 if (vfh && vfh->context) 1192 return vfh->context; 1193 1194 return vfd->default_context; 1195 } 1196 EXPORT_SYMBOL_GPL(video_device_context_from_file); 1197 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki