From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F5EF40DFD7 for ; Wed, 29 Apr 2026 15:53:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777477985; cv=none; b=GDy+CyULmZ8ohKsucBfdSC20d0K0xDsa/0Bb3jMmw3ICm+Hwlz65RRmqQGDjCzqxYWziF4qAUpX0WOnix0ETM4kxpgx67Exclqwt1WRJzc8RLgNLZmnqrG3bVlW1z3tQWyZATBMcgrhJBKlN5kjM7cgoZMCJgigSLppzJP8J4+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777477985; c=relaxed/simple; bh=ymOeDlO2KkZ414GlYq9wIkEDtDS0obZ6VnuurvATDLs=; h=Date:From:To:Cc:Subject:Message-ID; b=KoXiEGKUhjGx/6ZGnHSgEnFtel+iPOBGODmcpmyV8XrVsVUqKuvjSEk/iGKKzXCmCYUL/+joI0QZfIXhBrSL5bv1IK2f7L3EpmxB4DMqFtu87LT7UJ/VeS8zC/7lx7fHiY8fgpo2BJ19tRtjDnN3EjXMyIAsm8U2O9H0Pk1DL+M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=GZroi0Fp; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GZroi0Fp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777477982; x=1809013982; h=date:from:to:cc:subject:message-id; bh=ymOeDlO2KkZ414GlYq9wIkEDtDS0obZ6VnuurvATDLs=; b=GZroi0Fp2nzcym6tWtqdXXNLUQsq79R6HvzHfakzz8WVyzK9TAD6j5VE dlezqSsVzDMhb3Aq0gHFEZjIYvMlKeyxcc4FCRP4y9YTsV+xIVWrf8fE+ gAbZei3NoP0Eh+bvyIqJKF1ixUCJixRjPpHQUF9hKlXO9SpMqCUvREyeC 5gWrUHAGNiHK1b6hh3KbQ0WWCz43YqWjPK/NBnSjmAf6ELcnE8vHF/yHi dqWX5Dwftj2n0NMzDOjsQhTTnvwZExGlFwsDwS24tS9EVDBBfwhybGVY1 WTlO8+OGKyy+aJRFZEVkxxz9zcPeBH+qHAfpRAOsrtBEb0SArNdt8ajRw w==; X-CSE-ConnectionGUID: lVeXHAgXRgybwlGsJrOs1Q== X-CSE-MsgGUID: jhedpMSRRFyoH78DoXQhPg== X-IronPort-AV: E=McAfee;i="6800,10657,11771"; a="95974489" X-IronPort-AV: E=Sophos;i="6.23,206,1770624000"; d="scan'208";a="95974489" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2026 08:53:01 -0700 X-CSE-ConnectionGUID: cw9mH+KXRsqlAhYV12/0Vw== X-CSE-MsgGUID: 18S+jII4R+CvPJIZsu2x0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,206,1770624000"; d="scan'208";a="238266912" Received: from lkp-server01.sh.intel.com (HELO aa799cca880d) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 29 Apr 2026 08:52:59 -0700 Received: from kbuild by aa799cca880d with local (Exim 4.98.2) (envelope-from ) id 1wI7Dd-00000000BBw-0I21; Wed, 29 Apr 2026 15:52:57 +0000 Date: Wed, 29 Apr 2026 23:52:54 +0800 From: kernel test robot To: Sakari Ailus Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, Laurent Pinchart Subject: [sailus-media-tree:metadata 91/122] drivers/media/i2c/imx219.c:982:48: error: passing argument 2 of 'v4l2_subdev_get_fmt' from incompatible pointer type Message-ID: <202604292331.kUb8f6WI-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tree: git://linuxtv.org/sailus/media_tree.git metadata head: 489ab6e79288be8d219b68525a13699fde0248ae commit: 0a4acc9d6279bb839202e8731d03c772e7cb0291 [91/122] media: imx219: Add internal pads, routes for common raw sensor model config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260429/202604292331.kUb8f6WI-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 11.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260429/202604292331.kUb8f6WI-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/202604292331.kUb8f6WI-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/media/i2c/imx219.c: In function 'imx219_set_pad_format': >> drivers/media/i2c/imx219.c:982:48: error: passing argument 2 of 'v4l2_subdev_get_fmt' from incompatible pointer type [-Werror=incompatible-pointer-types] 982 | return v4l2_subdev_get_fmt(sd, ci, state, fmt); | ^~ | | | const struct v4l2_subdev_client_info * In file included from include/media/v4l2-device.h:13, from drivers/media/i2c/imx219.c:28: include/media/v4l2-subdev.h:1477:75: note: expected 'struct v4l2_subdev_state *' but argument is of type 'const struct v4l2_subdev_client_info *' 1477 | int v4l2_subdev_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ drivers/media/i2c/imx219.c:982:52: error: passing argument 3 of 'v4l2_subdev_get_fmt' from incompatible pointer type [-Werror=incompatible-pointer-types] 982 | return v4l2_subdev_get_fmt(sd, ci, state, fmt); | ^~~~~ | | | struct v4l2_subdev_state * In file included from include/media/v4l2-device.h:13, from drivers/media/i2c/imx219.c:28: include/media/v4l2-subdev.h:1478:52: note: expected 'struct v4l2_subdev_format *' but argument is of type 'struct v4l2_subdev_state *' 1478 | struct v4l2_subdev_format *format); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ >> drivers/media/i2c/imx219.c:982:24: error: too many arguments to function 'v4l2_subdev_get_fmt' 982 | return v4l2_subdev_get_fmt(sd, ci, state, fmt); | ^~~~~~~~~~~~~~~~~~~ In file included from include/media/v4l2-device.h:13, from drivers/media/i2c/imx219.c:28: include/media/v4l2-subdev.h:1477:5: note: declared here 1477 | int v4l2_subdev_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/v4l2_subdev_get_fmt +982 drivers/media/i2c/imx219.c 969 970 static int imx219_set_pad_format(struct v4l2_subdev *sd, 971 const struct v4l2_subdev_client_info *ci, 972 struct v4l2_subdev_state *state, 973 struct v4l2_subdev_format *fmt) 974 { 975 struct imx219 *imx219 = to_imx219(sd); 976 struct v4l2_mbus_framefmt *format; 977 978 if (!(ci && ci->client_caps & V4L2_SUBDEV_CLIENT_CAP_COMMON_RAW_SENSOR)) 979 return imx219_set_pad_format_compat(sd, state, fmt); 980 981 if (fmt->pad != IMX219_PAD_SOURCE) > 982 return v4l2_subdev_get_fmt(sd, ci, state, fmt); 983 984 format = v4l2_subdev_state_get_format(state, IMX219_PAD_SOURCE); 985 986 format->code = fmt->format.code = 987 imx219_get_format_code(imx219, fmt->format.code); 988 989 return 0; 990 } 991 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki