Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp79188rdh; Wed, 22 Nov 2023 19:18:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtq1mGhWIMZyyFJi0RDo/7kANYysu2FdLhN/0qNRNkBpDCojR5261ri94N6eDs0lFfNLmI X-Received: by 2002:a05:6a00:439b:b0:6cb:d24b:878a with SMTP id bt27-20020a056a00439b00b006cbd24b878amr3670482pfb.25.1700709491123; Wed, 22 Nov 2023 19:18:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700709491; cv=none; d=google.com; s=arc-20160816; b=SY0A+6a6PPsrsq7gWrg/w2w6sR4O0xvoz4lq//cX763/hncvwdJf5uYQmSqjhlXNSs Aq3c9KUdOVpf6yrutJ+VpeaAtnZKt2Pfbxj9glbLS20jsMUsDAwLDigp9oICq7dRavHu 6lkfo8LVUlzvVp82t4q7ObKZoCM6DuUaUcoGe+NuuaTivaQWS5KjMj7MxQF7Jo6d+H4G HKjowd5MjeVBxaLy3/+nHiA/JM8bup0dCZUPgzxXfzVisYWDI1HLKdyMOmtEJeaZ6VQ+ YnlItMFwSiw4MKaUFr2SgiqCgCHd/LXxK/M7dRt50+qUKBKD7HA2t5g0z7EgYImssUdf gjHQ== 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=KBfbw1GofJgXCDsuaZl+gI4wk36y5sabLIXrHs5AtmU=; fh=bPATQRX6VQ6AJMUkdpev0H3BQvDmXHV9eBbJ6toRfQc=; b=ZNnnGeWVLIknOaYmmki8U/DiFMHIs/Y+bz6FkPYLWMI8eFQ8OLye4xTBNnSBlz9LDZ 5Nj8s9mD0ofKZRmR89kJOosgTFMbzIv45PJiwbTRnY33ooR5a+3REYPjeAR2USoQiSPK +OT42JSnVABBZsVlQhfOmrjNtQ3v/b2GtRazFd8nueXDeGLKoIE0wsnrR/S6qRyld9Mq ShxIyxQ7uvUT9PxGa7v1h2b+R4PQAMBCm+liirlmOL/ni3DwgJCQA1WZC++0hXHOa0rt 22yrs9BPRXyxIX8BfG4NapTa147StU2UVBg60tHU7C61W1mRE7lj8Kg7SbBhh+Mzq78a RqtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RxIWG4AP; 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 c13-20020aa7952d000000b006b6119c4695si371161pfp.380.2023.11.22.19.18.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 19:18:11 -0800 (PST) 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=RxIWG4AP; 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 022128288180; Wed, 22 Nov 2023 19:17:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344515AbjKWDRQ (ORCPT + 99 others); Wed, 22 Nov 2023 22:17:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344455AbjKWDRL (ORCPT ); Wed, 22 Nov 2023 22:17:11 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 184CF1B6; Wed, 22 Nov 2023 19:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700709439; x=1732245439; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1c3Mf56cspS0rK0V+e9p5p1VgJgFuCb7pZFxscw0f/Q=; b=RxIWG4AP5nErNZ3whJsyLAYUN2FOpCs//PJq0eGYe9nX/XiR2ALvXf3I BKaQMnd4ei3NPlvXDPIHb9xa2RwkxVm3yyJE5ZrLlhvUg755jevHK4h4w R1d3O5Wyh/AHQ+EOg74bgOHLZAPV/BESrKmf+nPLyHFvF3n0D9FkVgu2W x49ISnbwRBTTDSWHKfTh9VFt/se5laj7Tv8Fn/Ciq5c7wZ8VNfkSg9ZUR XC+Pn1Y3c13/8n1B5dNsFGvy7I95QblrJxF5e1GAz8V7fR4xcr3gWqKig Nk1GT3QVZR+KYo9BNdRihjjLOBCjo9UbNXfGG5aNLlQzEL130aq9a6TAH A==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="5380205" X-IronPort-AV: E=Sophos;i="6.04,220,1695711600"; d="scan'208";a="5380205" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 19:17:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="767083290" X-IronPort-AV: E=Sophos;i="6.04,220,1695711600"; d="scan'208";a="767083290" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 22 Nov 2023 19:17:14 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r60DI-0001Ag-0H; Thu, 23 Nov 2023 03:17:12 +0000 Date: Thu, 23 Nov 2023 11:16:43 +0800 From: kernel test robot To: Alain Volmat , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, Sakari Ailus , Jacopo Mondi , Kieran Bingham , Pavel Machek , Alain Volmat , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 3/3] media: i2c: gc2145: Galaxy Core GC2145 sensor support Message-ID: <202311231047.GzLUXA47-lkp@intel.com> References: <20231122075154.789431-4-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122075154.789431-4-alain.volmat@foss.st.com> X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Wed, 22 Nov 2023 19:17:33 -0800 (PST) Hi Alain, kernel test robot noticed the following build errors: [auto build test ERROR on linuxtv-media-stage/master] [also build test ERROR on linus/master v6.7-rc2 next-20231122] [cannot apply to media-tree/master robh/for-next] [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-vendor-prefixes-Add-prefix-for-GalaxyCore-Inc/20231122-155443 base: https://git.linuxtv.org/media_stage.git master patch link: https://lore.kernel.org/r/20231122075154.789431-4-alain.volmat%40foss.st.com patch subject: [PATCH v5 3/3] media: i2c: gc2145: Galaxy Core GC2145 sensor support config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231123/202311231047.GzLUXA47-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231123/202311231047.GzLUXA47-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/202311231047.GzLUXA47-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/media/i2c/gc2145.c:664:11: error: call to undeclared function 'v4l2_subdev_state_get_format'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] format = v4l2_subdev_state_get_format(state, 0); ^ drivers/media/i2c/gc2145.c:664:9: error: incompatible integer to pointer conversion assigning to 'struct v4l2_mbus_framefmt *' from 'int' [-Wint-conversion] format = v4l2_subdev_state_get_format(state, 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/media/i2c/gc2145.c:669:9: error: call to undeclared function 'v4l2_subdev_state_get_crop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crop = v4l2_subdev_state_get_crop(state, 0); ^ drivers/media/i2c/gc2145.c:669:7: error: incompatible integer to pointer conversion assigning to 'struct v4l2_rect *' from 'int' [-Wint-conversion] crop = v4l2_subdev_state_get_crop(state, 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/i2c/gc2145.c:681:13: error: call to undeclared function 'v4l2_subdev_state_get_crop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sel->r = *v4l2_subdev_state_get_crop(sd_state, 0); ^ drivers/media/i2c/gc2145.c:681:12: error: indirection requires pointer operand ('int' invalid) sel->r = *v4l2_subdev_state_get_crop(sd_state, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/i2c/gc2145.c:758:13: error: call to undeclared function 'v4l2_subdev_state_get_format'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] framefmt = v4l2_subdev_state_get_format(sd_state, fmt->pad); ^ drivers/media/i2c/gc2145.c:758:11: error: incompatible integer to pointer conversion assigning to 'struct v4l2_mbus_framefmt *' from 'int' [-Wint-conversion] framefmt = v4l2_subdev_state_get_format(sd_state, fmt->pad); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/i2c/gc2145.c:770:9: error: call to undeclared function 'v4l2_subdev_state_get_crop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] crop = v4l2_subdev_state_get_crop(sd_state, fmt->pad); ^ drivers/media/i2c/gc2145.c:770:7: error: incompatible integer to pointer conversion assigning to 'struct v4l2_rect *' from 'int' [-Wint-conversion] crop = v4l2_subdev_state_get_crop(sd_state, fmt->pad); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/i2c/gc2145.c:874:8: error: call to undeclared function 'v4l2_subdev_state_get_format'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fmt = v4l2_subdev_state_get_format(state, 0); ^ drivers/media/i2c/gc2145.c:874:6: error: incompatible integer to pointer conversion assigning to 'struct v4l2_mbus_framefmt *' from 'int' [-Wint-conversion] fmt = v4l2_subdev_state_get_format(state, 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 errors generated. vim +/v4l2_subdev_state_get_format +664 drivers/media/i2c/gc2145.c 655 656 static int gc2145_init_cfg(struct v4l2_subdev *sd, 657 struct v4l2_subdev_state *state) 658 { 659 struct gc2145 *gc2145 = to_gc2145(sd); 660 struct v4l2_mbus_framefmt *format; 661 struct v4l2_rect *crop; 662 663 /* Initialize pad format */ > 664 format = v4l2_subdev_state_get_format(state, 0); 665 gc2145_update_pad_format(gc2145, &supported_modes[0], format, 666 MEDIA_BUS_FMT_RGB565_1X16); 667 668 /* Initialize crop rectangle. */ > 669 crop = v4l2_subdev_state_get_crop(state, 0); 670 *crop = supported_modes[0].crop; 671 672 return 0; 673 } 674 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki