Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp79122rdh; Wed, 22 Nov 2023 19:18:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZFz+8glOwaz8Ss6//CxyZfmKqKoukxww5LuCkWRyluRFUF5CsBMxP94DiEtAU5vLp77xD X-Received: by 2002:a17:902:bb83:b0:1cf:8cfb:90ba with SMTP id m3-20020a170902bb8300b001cf8cfb90bamr344933pls.27.1700709479596; Wed, 22 Nov 2023 19:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700709479; cv=none; d=google.com; s=arc-20160816; b=cWIuAizoch+BCVmfINZ5FuI3gsoTzW6hJFHazzz/tEJMr8kWT1/bPjCRt/DPjxlehU HgqJ0+zLFOh1hYoCYXngGF1rzErwYz+OCU/e1CYYPY+PwZcN8Gje9sPtWpq/WEYF9yKZ ij945OT5CQxg/VzLVgdr9z6kPjGIQlMF3qEdI2Z/LK+y63r0/h1Sg/hXzSH2iVa9wkKS TSEUvilGjQ8DVgIQXJZP/oDxxTDKJhs3iuQWKB62qztaOKyitmrzJXmjbmoLrFNvPpkS /mBCgBZulw7FSkghWrVy5+uvyGND6ZK2NNMiRJkNpN5CWXrgYB39bAG7fGek7Lf5QP4A Jpfg== 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=X53MkLPJ1MaDVQ067XRU5Prgpea85Sm1guFM6lFE8ys=; fh=G8gwKAE6ZMRt9zE+bdBALXx6RjEhdPRRao/LxyWEe7o=; b=NiWdU4MWuli4M4AuOMQVoG9tJd6oOplvwOVP2+i2AXD6dwsyIGRvSYvlpOuppk+mk3 236fzh4SSmaXQXp65oD5IW89OlEAFd91Ef6jNntR6jEJJnxLImMFsYX1jtS6zqFfnx/2 k8Thh6PrXS6QfM7/dUgWiHvMKbPggYcnMVIEzpqjM3Lme13Rdj4eO/YNstwheeF8G5NF +shupaInrGkahk9XBwRQ1RdMwS+ztEURYdnS9PWUgZ8hbTYvDooCGZYayVt0C0EH32j2 r9q16VyMp7yzqQ3ZC2A9AZ962JIP1IRcXE8DYfTamuij7FrTK6EDiQHalgX7UqY4uLDk q+rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jmoRMg4b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v11-20020a170902d68b00b001cf56ff2978si255092ply.521.2023.11.22.19.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 19:17:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jmoRMg4b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 8A2AE807C6EA; Wed, 22 Nov 2023 19:17:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344554AbjKWDRV (ORCPT + 99 others); Wed, 22 Nov 2023 22:17:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344489AbjKWDRN (ORCPT ); Wed, 22 Nov 2023 22:17:13 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB17D10E; Wed, 22 Nov 2023 19:17:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700709440; x=1732245440; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7ehTNtyUZhQFTHzTWUvmGh28De2Y35+pTZbKu0dEQwY=; b=jmoRMg4bYc3gprjM5sHr+uUP8F1w1dbJoyVXI4LmeqkQkAcOY8/gWdNG EDcEYXy7vG8BhUzpYIaXQe/CwfUEvmc8mU1S5hehYGDMjXKhIURtBJKd5 15+N2rkZiJqIjQWeqeKIyW+wXk6lhQhAsu5eEL5Y7i4gT5EPM25+b6C8Q dgCsTj9dI6Sb6XQVuXA0/NtO+ZEe28FYmfeJtSF1K69rkun1dmRsW2Jn7 /wgOY8G5Y5HNGYTfMCSY0EiIpZ4pfqEXV/RsKacs7YpO8vare9cUUMDPL nRiELRjyeFrWlKdd0u3YAizYN0kLALEvBL1U9ma4jNlUOVvigiNixO3P2 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="5380211" X-IronPort-AV: E=Sophos;i="6.04,220,1695711600"; d="scan'208";a="5380211" 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:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="767083294" X-IronPort-AV: E=Sophos;i="6.04,220,1695711600"; d="scan'208";a="767083294" 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-0001Az-11; Thu, 23 Nov 2023 03:17:12 +0000 Date: Thu, 23 Nov 2023 11:16:49 +0800 From: kernel test robot To: Alain Volmat , Hugues Fruchet , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Russell King , Philipp Zabel Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, Sakari Ailus , Laurent Pinchart , Dan Scally , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 3/5] media: stm32-dcmipp: STM32 DCMIPP camera interface driver Message-ID: <202311231015.CDjoMVIV-lkp@intel.com> References: <20231122073927.788810-4-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122073927.788810-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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Wed, 22 Nov 2023 19:17:50 -0800 (PST) Hi Alain, kernel test robot noticed the following build errors: [auto build test ERROR on atorgue-stm32/stm32-next] [also build test ERROR on media-tree/master linuxtv-media-stage/master linus/master v6.7-rc2 next-20231122] [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-add-bindings-for-stm32-dcmipp/20231122-154327 base: https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git stm32-next patch link: https://lore.kernel.org/r/20231122073927.788810-4-alain.volmat%40foss.st.com patch subject: [PATCH v8 3/5] media: stm32-dcmipp: STM32 DCMIPP camera interface driver config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231123/202311231015.CDjoMVIV-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/202311231015.CDjoMVIV-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/202311231015.CDjoMVIV-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c: In function 'dcmipp_par_init_cfg': >> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:154:22: error: implicit declaration of function 'v4l2_subdev_state_get_format'; did you mean 'v4l2_subdev_state_get_stream_format'? [-Werror=implicit-function-declaration] 154 | mf = v4l2_subdev_state_get_format(sd_state, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | v4l2_subdev_state_get_stream_format drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:154:20: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 154 | mf = v4l2_subdev_state_get_format(sd_state, i); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c: In function 'dcmipp_par_set_fmt': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:236:12: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 236 | mf = v4l2_subdev_state_get_format(sd_state, fmt->pad); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:256:20: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 256 | mf = v4l2_subdev_state_get_format(sd_state, 1); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c: In function 'dcmipp_par_configure': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:311:18: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 311 | sink_fmt = v4l2_subdev_state_get_format(state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:312:17: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 312 | src_fmt = v4l2_subdev_state_get_format(state, 1); | ^ cc1: some warnings being treated as errors -- drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c: In function 'dcmipp_byteproc_init_cfg': >> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:171:22: error: implicit declaration of function 'v4l2_subdev_state_get_format'; did you mean 'v4l2_subdev_state_get_stream_format'? [-Werror=implicit-function-declaration] 171 | mf = v4l2_subdev_state_get_format(sd_state, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | v4l2_subdev_state_get_stream_format drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:171:20: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 171 | mf = v4l2_subdev_state_get_format(sd_state, i); | ^ >> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:175:29: error: implicit declaration of function 'v4l2_subdev_state_get_compose'; did you mean 'v4l2_subdev_state_get_stream_compose'? [-Werror=implicit-function-declaration] 175 | r = v4l2_subdev_state_get_compose(sd_state, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | v4l2_subdev_state_get_stream_compose drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:175:27: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 175 | r = v4l2_subdev_state_get_compose(sd_state, i); | ^ >> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:177:29: error: implicit declaration of function 'v4l2_subdev_state_get_crop'; did you mean 'v4l2_subdev_state_get_stream_crop'? [-Werror=implicit-function-declaration] 177 | r = v4l2_subdev_state_get_crop(sd_state, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | v4l2_subdev_state_get_stream_crop drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:177:27: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 177 | r = v4l2_subdev_state_get_crop(sd_state, i); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c: In function 'dcmipp_byteproc_enum_mbus_code': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:206:26: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 206 | sink_fmt = v4l2_subdev_state_get_format(sd_state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c: In function 'dcmipp_byteproc_enum_frame_size': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:230:25: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 230 | compose = v4l2_subdev_state_get_compose(sd_state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c: In function 'dcmipp_byteproc_set_fmt': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:249:12: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 249 | mf = v4l2_subdev_state_get_format(sd_state, fmt->pad); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:251:14: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 251 | crop = v4l2_subdev_state_get_crop(sd_state, 1); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:252:17: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 252 | compose = v4l2_subdev_state_get_compose(sd_state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:255:31: error: invalid type argument of unary '*' (have 'int') 255 | fmt->format = *v4l2_subdev_state_get_format(sd_state, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:266:17: error: invalid type argument of unary '*' (have 'int') 266 | *v4l2_subdev_state_get_format(sd_state, 1) = fmt->format; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c: In function 'dcmipp_byteproc_get_selection': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:297:18: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 297 | sink_fmt = v4l2_subdev_state_get_format(sd_state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:298:14: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 298 | crop = v4l2_subdev_state_get_crop(sd_state, 1); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:299:17: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 299 | compose = v4l2_subdev_state_get_compose(sd_state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c: In function 'dcmipp_byteproc_set_selection': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:349:14: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 349 | crop = v4l2_subdev_state_get_crop(sd_state, 1); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:350:17: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 350 | compose = v4l2_subdev_state_get_compose(sd_state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:357:20: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 357 | mf = v4l2_subdev_state_get_format(sd_state, 1); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:365:20: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 365 | mf = v4l2_subdev_state_get_format(sd_state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:370:20: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 370 | mf = v4l2_subdev_state_get_format(sd_state, 1); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c: In function 'dcmipp_byteproc_configure_scale_crop': drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:406:18: warning: assignment to 'struct v4l2_mbus_framefmt *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 406 | sink_fmt = v4l2_subdev_state_get_format(state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:407:17: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 407 | compose = v4l2_subdev_state_get_compose(state, 0); | ^ drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:408:14: warning: assignment to 'struct v4l2_rect *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 408 | crop = v4l2_subdev_state_get_crop(state, 1); | ^ cc1: some warnings being treated as errors vim +154 drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c 145 146 static int dcmipp_par_init_cfg(struct v4l2_subdev *sd, 147 struct v4l2_subdev_state *sd_state) 148 { 149 unsigned int i; 150 151 for (i = 0; i < sd->entity.num_pads; i++) { 152 struct v4l2_mbus_framefmt *mf; 153 > 154 mf = v4l2_subdev_state_get_format(sd_state, i); 155 *mf = fmt_default; 156 } 157 158 return 0; 159 } 160 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki