Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp50897rdh; Wed, 22 Nov 2023 17:56:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFns2xox/UVru5DzRoaU8Es3QLQ7djFTq1aFNiYf9EDL5fU9GAKxxuNF+7xj7V3LLBBSGs6 X-Received: by 2002:a17:902:e546:b0:1cc:fd1:c85f with SMTP id n6-20020a170902e54600b001cc0fd1c85fmr4903141plf.22.1700704578325; Wed, 22 Nov 2023 17:56:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700704578; cv=none; d=google.com; s=arc-20160816; b=XCwbbQcA0bmiv5YYypB4EFf+yjXc4PI4N1070Q6Dfi0yAyXg6UMetKwhDPOoqgYZ3F Rc7HzrIO1rjvDZiXxqeQG8WMTkSmwC84vk+kf/E1OFV9rhIMftRpHuS0TkcI4rVOFAkY 80ZFXOm2cXzAygf7HbbQ5YSoiz6WOyT8MQt5spK2WMyz/FkirFCALYnblhg7m4Nk2LeD oK2XTaV+h1xHBNOdh2EBkF3bv44dXEF10F6vdIzxrh22mftNj3IA3nmnBIqUPrScsbEu kS3XO6dEUDSS/g0VfSwlocQe0PIUvvFVR5javeUcEtBNWAA0T9QV9qKN3koXVAIKbdzS j8RA== 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=UKtNMamCIwdbwg9EqTqvzpvrQSAntcXlHS1BCYJnCN0=; fh=tWDmTzkev9Wt7i6JEBqgPzIxWEF6NF2tfCqUef2QuZ0=; b=KlmBEEcb5Cl0xNP5ybXIVhV2KdhAQUJblekZVhE5vp/KFIBEzdDCFS6f54J2eEZlsx xCV3xN66GyRnSH67MWQuDMUZMMrDDVDc4ON0QLvQ25VaYA0S3Oge8hwjsUxUxEsCWTIh z42ap+iUpqhOC/hDiGGzEq/kASyoVjmTBIXaWyZ9bILONV/K2YBeVr1/6/LiSIGb5iBT xNmCl/lqQ9IIIqxT94B0Q/xYS+SUXFFjgrl+MjZW3Fmu0eUEEr0/GzQmSuPoGElJ0fmN mPuSYIoR0Gk/XNv9EvhG8x8oCiJFD37bARdOaHsA1CP6cvpnqoXSOIPThRrjxL3gD4ao AVGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bjP28GuP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id 2-20020a170902ee4200b001c71eb782b0si159352plo.94.2023.11.22.17.56.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 17:56:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bjP28GuP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id BD382825CEEA; Wed, 22 Nov 2023 17:56:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235262AbjKWBzd (ORCPT + 99 others); Wed, 22 Nov 2023 20:55:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344398AbjKWBzT (ORCPT ); Wed, 22 Nov 2023 20:55:19 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B8AED42; Wed, 22 Nov 2023 17:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700704513; x=1732240513; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AZJ271P9oq4wW/F8qserHlPAU235ACCRwStgacxDnBY=; b=bjP28GuP8q3C/8ocg3UkRVZ28DBeLO0ix0L8pbTG8MuyOyfXQN9JH+YA AaYjk8JC4B5ntBv36TobMvjndouJtGFCa4QjVSa7/47qDfvHZw3WH7rT/ BqAMe2xliwxgHZBSFs5OQxngAodchByC5fajQpm5l96CT9H1bzA32qAiT ib0f7w/tn6duTBpkTvHsLmoGpO+I3NmR1f/M0ENYCEHEprMONiT9wPfXx +EEQL+dluRDrVbCkuKpIUeVf35aS26kc3+4nQRNY50J22VGalAttzu1G7 9wnxtH56Z7L3uwhZ+cKUyszisuNj4IQ8rNu9L6Ls9ZhXHmmWGbaBOI7NR g==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="13737178" X-IronPort-AV: E=Sophos;i="6.04,220,1695711600"; d="scan'208";a="13737178" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 17:55:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="801909594" X-IronPort-AV: E=Sophos;i="6.04,220,1695711600"; d="scan'208";a="801909594" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 22 Nov 2023 17:55:09 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r5yvr-00016F-0h; Thu, 23 Nov 2023 01:55:07 +0000 Date: Thu, 23 Nov 2023 09:54:40 +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, 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: <202311230621.ATIDPgtm-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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Wed, 22 Nov 2023 17:56:12 -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: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231123/202311230621.ATIDPgtm-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/20231123/202311230621.ATIDPgtm-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/202311230621.ATIDPgtm-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/media/i2c/gc2145.c: In function 'gc2145_init_cfg': >> drivers/media/i2c/gc2145.c:664:18: error: implicit declaration of function 'v4l2_subdev_state_get_format'; did you mean 'v4l2_subdev_state_get_stream_format'? [-Werror=implicit-function-declaration] 664 | format = v4l2_subdev_state_get_format(state, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | v4l2_subdev_state_get_stream_format drivers/media/i2c/gc2145.c:664:16: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 664 | format = v4l2_subdev_state_get_format(state, 0); | ^ >> drivers/media/i2c/gc2145.c:669:16: error: implicit declaration of function 'v4l2_subdev_state_get_crop'; did you mean 'v4l2_subdev_state_get_stream_crop'? [-Werror=implicit-function-declaration] 669 | crop = v4l2_subdev_state_get_crop(state, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | v4l2_subdev_state_get_stream_crop drivers/media/i2c/gc2145.c:669:14: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 669 | crop = v4l2_subdev_state_get_crop(state, 0); | ^ drivers/media/i2c/gc2145.c: In function 'gc2145_get_selection': drivers/media/i2c/gc2145.c:681:26: error: invalid type argument of unary '*' (have 'int') 681 | sel->r = *v4l2_subdev_state_get_crop(sd_state, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/i2c/gc2145.c: In function 'gc2145_set_pad_format': drivers/media/i2c/gc2145.c:758:18: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 758 | framefmt = v4l2_subdev_state_get_format(sd_state, fmt->pad); | ^ drivers/media/i2c/gc2145.c:770:14: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 770 | crop = v4l2_subdev_state_get_crop(sd_state, fmt->pad); | ^ drivers/media/i2c/gc2145.c: In function 'gc2145_start_streaming': drivers/media/i2c/gc2145.c:874:13: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 874 | fmt = v4l2_subdev_state_get_format(state, 0); | ^ cc1: some warnings being treated as errors vim +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