Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2103111rdh; Tue, 26 Sep 2023 12:30:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7Ew5McB25e6ArL9n5j4fKtjgGRRQAqI6oYPAGIN+ax30Xn9Gd624l95Po+ICbhLEtpC3X X-Received: by 2002:a17:902:e74f:b0:1c4:1cd3:8062 with SMTP id p15-20020a170902e74f00b001c41cd38062mr12906268plf.2.1695756602100; Tue, 26 Sep 2023 12:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695756602; cv=none; d=google.com; s=arc-20160816; b=G9t9lvFXa/tf/Oi6XJ88bMb4gbELi8sJ3y7Exw8uvDhWH0tmmuzSUPZYAMXpxRsB+k FF/6NAmqYXS1+1g8BCCTYLfDYOzZ2Z08kMu6JZG7z2XnICFwEWiaC6vH46kqqqCGDmPA S5J5xO6TxD+aUkQIjfUKYjeXQmSzD3JTyYJVCUi/Idu0GZAKS6EknTW7+QJR6QW258+0 zMXLX4QewfKwqQskEEIUteqzooIHp1DivmRNUpq8H9MT5wdUn9EBFcIAJP7T+qs3Uxkm RyNXfLaEbCrOsw83cTRBrBkN8fMMEZ5FPLsZOVTjVrQ3XoCd+ad1mA1efFRUvoON+yMi 0eYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=f8pVAw3Nkad43YEinxK2z2maB6fGe0xA8QGG0LZq2kw=; fh=i1RDSTfVkry4JGE2iYDDexacEWX7NrFjBMk/gIkxFTg=; b=lRYtu0+CzdOkAG6bjY8FFk8wPspFY92B7RBVj76NcrykNq218dP9igZx/42OZ0N6ol 2J+Mak29ozSTe+895Qy8TUQlXQtzZeWkyEX4u4gAp4Bj2fMvXReTbjV7FgJm0aFXAYiG 0w2ht6lsUL3twErIgmkBeN3AHIfxsJMYJbfuyVAeF9Up7Lg0scm3vWnOSj9E7Y4VaWyl n7WmWEZaoPpvOz85wEtlkFKZHYjaloucjcNWuRbNxEA0BpdcV490NCSmxyhqWB4weg1D iS03MS6CZ98EVyn0zdMbzWl2lLQpKuunUrCCsAlQV8C9gav0spj4ziIIck4TkV3jwkGu cdLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OOscPrhy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h4-20020a170902f54400b001c61acd5be6si6093282plf.209.2023.09.26.12.30.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 12:30:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OOscPrhy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0C10481B8960; Tue, 26 Sep 2023 09:22:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235268AbjIZQWE (ORCPT + 99 others); Tue, 26 Sep 2023 12:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235249AbjIZQWB (ORCPT ); Tue, 26 Sep 2023 12:22:01 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 243C410A; Tue, 26 Sep 2023 09:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695745314; x=1727281314; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kOLi+tNVVtaYkWTVX/7AESQkIiZFjfH3RaEZEz2Zfb4=; b=OOscPrhyBOcxo1g4MgXCUQfLK6J+EnTXsod5SzOny241DoZbeos92G4r B6qAesdf5vdfJCyic0ZHv5ptWby/OGRKh7q/KTBDMAdpHpRpG1Kh/NfJH bydlqO7jA0HSKFvMiDRR7F526zCULuKLNyFRTL+xw0gOnOSekn7Sfd5xs pFtA5XEX335E6/+ZNpYJnBIavbm7TEdxPUXLc+k2Y3A588oBZFeaF6OyM zYMdiRq4XJbJP49EzB8+f2jDoQ5+vOrA7YIhpaoohxA4MU8t1eOFc+n6o phyVFe46jPNt/XXdOttwN73dXxXxp4Jf4BXWH1PdiGwMzLj2cqKlXOv3D Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10845"; a="445739335" X-IronPort-AV: E=Sophos;i="6.03,178,1694761200"; d="scan'208";a="445739335" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 09:21:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10845"; a="814540198" X-IronPort-AV: E=Sophos;i="6.03,178,1694761200"; d="scan'208";a="814540198" Received: from lkp-server02.sh.intel.com (HELO 32c80313467c) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 26 Sep 2023 09:21:47 -0700 Received: from kbuild by 32c80313467c with local (Exim 4.96) (envelope-from ) id 1qlAoi-000358-2u; Tue, 26 Sep 2023 16:21:44 +0000 Date: Wed, 27 Sep 2023 00:21:31 +0800 From: kernel test robot To: Alain Volmat , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, Andrey Skvortsov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] media: i2c: gc2145: Galaxy Core GC2145 sensor support Message-ID: <202309270018.GBMyNvxU-lkp@intel.com> References: <20230926092825.819229-3-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230926092825.819229-3-alain.volmat@foss.st.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 26 Sep 2023 09:22:05 -0700 (PDT) Hi Alain, kernel test robot noticed the following build warnings: [auto build test WARNING on media-tree/master] [also build test WARNING on robh/for-next linus/master v6.6-rc3 next-20230926] [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/Alain-Volmat/dt-bindings-media-i2c-add-galaxycore-gc2145-dt-bindings/20230926-173518 base: git://linuxtv.org/media_tree.git master patch link: https://lore.kernel.org/r/20230926092825.819229-3-alain.volmat%40foss.st.com patch subject: [PATCH 2/2] media: i2c: gc2145: Galaxy Core GC2145 sensor support config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230927/202309270018.GBMyNvxU-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230927/202309270018.GBMyNvxU-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/202309270018.GBMyNvxU-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/media/i2c/gc2145.c:1140:12: warning: 'gc2145_resume' defined but not used [-Wunused-function] 1140 | static int gc2145_resume(struct device *dev) | ^~~~~~~~~~~~~ >> drivers/media/i2c/gc2145.c:1129:12: warning: 'gc2145_suspend' defined but not used [-Wunused-function] 1129 | static int gc2145_suspend(struct device *dev) | ^~~~~~~~~~~~~~ vim +/gc2145_resume +1140 drivers/media/i2c/gc2145.c 1128 > 1129 static int gc2145_suspend(struct device *dev) 1130 { 1131 struct v4l2_subdev *sd = dev_get_drvdata(dev); 1132 struct gc2145 *gc2145 = to_gc2145(sd); 1133 1134 if (gc2145->streaming) 1135 gc2145_stop_streaming(gc2145); 1136 1137 return 0; 1138 } 1139 > 1140 static int gc2145_resume(struct device *dev) 1141 { 1142 struct v4l2_subdev *sd = dev_get_drvdata(dev); 1143 struct gc2145 *gc2145 = to_gc2145(sd); 1144 struct v4l2_subdev_state *state; 1145 int ret; 1146 1147 if (gc2145->streaming) { 1148 state = v4l2_subdev_lock_and_get_active_state(sd); 1149 ret = gc2145_start_streaming(gc2145, state); 1150 v4l2_subdev_unlock_state(state); 1151 if (ret) 1152 goto error; 1153 } 1154 1155 return 0; 1156 1157 error: 1158 gc2145_stop_streaming(gc2145); 1159 gc2145->streaming = false; 1160 1161 return ret; 1162 } 1163 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki