From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (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 0818F222565 for ; Wed, 11 Feb 2026 13:24:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770816278; cv=none; b=mbl6lBOabYU2NmgmL7qdNTSlRoarfSuY4h6TOWFF6tMGqWLTxh/Kg6A27nTrWLbroUpR1HGS7tMKKibCi9V91Cj9Weke67AMY4IVjGPtwyT5lLPcpRDMJaFXX5H1wstlQBDiFeJGgeXXIjCr589quCEbjd2wgPj4GU4wuGw/6DU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770816278; c=relaxed/simple; bh=54EN7ovYhvb9v6wxyy/oq2kNu5AZ0w2BhOjqqOECy78=; h=Date:From:To:Cc:Subject:Message-ID; b=VrNpM/CRv/lj9N4i4/+5oETGwBBdgX0WaTVKJLNaAl6jQ6+crefKprEV0Y/OcnqNJbe56o+Jr25X4y6f34eswZk7cilRkB8NolDYTMILH8N8ZBf5LXgrdo1cJhdyVwni5r4KrY5KR7VNDp6+CO6dPC2DL+gesMelzbqeQsi9vXQ= 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=g5zEzh22; arc=none smtp.client-ip=198.175.65.17 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="g5zEzh22" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770816275; x=1802352275; h=date:from:to:cc:subject:message-id; bh=54EN7ovYhvb9v6wxyy/oq2kNu5AZ0w2BhOjqqOECy78=; b=g5zEzh221amjOw7rrl4ZwG+dX86iRJr8kGrLHu5i1jW3P68/dFDDeCUl TdW4tPvwBqabyE/46+NuF9hmdd6vicQKH8Dt3BHj99ALA/rR6NiSxJNsQ PsBX4pamjLUVRmj3kpaou5bbhczLRzwdf1+LmgVM5ywUu5YiY4SeCuj+2 W6e/KkeUgwoyRQPaT437r9HY3/Y/aF+VNNdzuGQgUyL100sWG6KockM7Q NQOCV8+7IQZ5kxUHLFk8LoZ/byFRQIcQXJOq7yhytjv8RyJFn6SKu9mYD NEYbjjByWUxAl0RPyCc7h+fUyNKxnL5C49A4ip0Dd4f5DHIAq9KXYWBTR A==; X-CSE-ConnectionGUID: z+ULbRwJRk2iBu6VreNE0Q== X-CSE-MsgGUID: qoHQKcrOQ8GIN8lby2dI3A== X-IronPort-AV: E=McAfee;i="6800,10657,11697"; a="71949909" X-IronPort-AV: E=Sophos;i="6.21,283,1763452800"; d="scan'208";a="71949909" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2026 05:24:35 -0800 X-CSE-ConnectionGUID: JcWhV10mQYi33cgbfVZa7A== X-CSE-MsgGUID: zb6g1O2XTcuEwDQv0AFAEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,283,1763452800"; d="scan'208";a="242031708" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 11 Feb 2026 05:24:33 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1vqACk-00000000q1Q-1lFf; Wed, 11 Feb 2026 13:24:30 +0000 Date: Wed, 11 Feb 2026 21:24:01 +0800 From: kernel test robot To: Sakari Ailus Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org Subject: [sailus-media-tree:metadata-pre 14/14] drivers/staging/media/ipu7/ipu7-isys-subdev.c:101:5: error: conflicting types for 'ipu7_isys_subdev_set_fmt'; have 'int(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' Message-ID: <202602112130.C4fhjpAe-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-pre head: 11ab80de774b0527a7365d6f03ea5dcd0ace3e85 commit: 11ab80de774b0527a7365d6f03ea5dcd0ace3e85 [14/14] media: v4l2-subdev: Add struct v4l2_subdev_client_info argument to pad ops config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260211/202602112130.C4fhjpAe-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260211/202602112130.C4fhjpAe-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/202602112130.C4fhjpAe-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/staging/media/ipu7/ipu7-isys-subdev.c:101:5: error: conflicting types for 'ipu7_isys_subdev_set_fmt'; have 'int(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' 101 | int ipu7_isys_subdev_set_fmt(struct v4l2_subdev *sd, | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/staging/media/ipu7/ipu7-isys-csi2.h:12, from drivers/staging/media/ipu7/ipu7-isys.h:25, from drivers/staging/media/ipu7/ipu7-isys-subdev.c:19: drivers/staging/media/ipu7/ipu7-isys-subdev.h:33:5: note: previous declaration of 'ipu7_isys_subdev_set_fmt' with type 'int(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' 33 | int ipu7_isys_subdev_set_fmt(struct v4l2_subdev *sd, | ^~~~~~~~~~~~~~~~~~~~~~~~ vim +101 drivers/staging/media/ipu7/ipu7-isys-subdev.c a516d36bdc3d837 Bingbu Cao 2025-05-29 100 a516d36bdc3d837 Bingbu Cao 2025-05-29 @101 int ipu7_isys_subdev_set_fmt(struct v4l2_subdev *sd, 11ab80de774b052 Sakari Ailus 2026-01-30 102 const struct v4l2_subdev_client_info *ci, a516d36bdc3d837 Bingbu Cao 2025-05-29 103 struct v4l2_subdev_state *state, a516d36bdc3d837 Bingbu Cao 2025-05-29 104 struct v4l2_subdev_format *format) a516d36bdc3d837 Bingbu Cao 2025-05-29 105 { a516d36bdc3d837 Bingbu Cao 2025-05-29 106 struct ipu7_isys_subdev *asd = to_ipu7_isys_subdev(sd); a516d36bdc3d837 Bingbu Cao 2025-05-29 107 u32 code = asd->supported_codes[0]; a516d36bdc3d837 Bingbu Cao 2025-05-29 108 struct v4l2_mbus_framefmt *fmt; a516d36bdc3d837 Bingbu Cao 2025-05-29 109 u32 other_pad, other_stream; a516d36bdc3d837 Bingbu Cao 2025-05-29 110 struct v4l2_rect *crop; a516d36bdc3d837 Bingbu Cao 2025-05-29 111 unsigned int i; a516d36bdc3d837 Bingbu Cao 2025-05-29 112 int ret; a516d36bdc3d837 Bingbu Cao 2025-05-29 113 a516d36bdc3d837 Bingbu Cao 2025-05-29 114 /* No transcoding, source and sink formats must match. */ a516d36bdc3d837 Bingbu Cao 2025-05-29 115 if ((sd->entity.pads[format->pad].flags & MEDIA_PAD_FL_SOURCE) && a516d36bdc3d837 Bingbu Cao 2025-05-29 116 sd->entity.num_pads > 1) 11ab80de774b052 Sakari Ailus 2026-01-30 117 return v4l2_subdev_get_fmt(sd, NULL, state, format); a516d36bdc3d837 Bingbu Cao 2025-05-29 118 a516d36bdc3d837 Bingbu Cao 2025-05-29 119 format->format.width = clamp(format->format.width, IPU_ISYS_MIN_WIDTH, a516d36bdc3d837 Bingbu Cao 2025-05-29 120 IPU_ISYS_MAX_WIDTH); a516d36bdc3d837 Bingbu Cao 2025-05-29 121 format->format.height = clamp(format->format.height, a516d36bdc3d837 Bingbu Cao 2025-05-29 122 IPU_ISYS_MIN_HEIGHT, a516d36bdc3d837 Bingbu Cao 2025-05-29 123 IPU_ISYS_MAX_HEIGHT); a516d36bdc3d837 Bingbu Cao 2025-05-29 124 a516d36bdc3d837 Bingbu Cao 2025-05-29 125 for (i = 0; asd->supported_codes[i]; i++) { a516d36bdc3d837 Bingbu Cao 2025-05-29 126 if (asd->supported_codes[i] == format->format.code) { a516d36bdc3d837 Bingbu Cao 2025-05-29 127 code = asd->supported_codes[i]; a516d36bdc3d837 Bingbu Cao 2025-05-29 128 break; a516d36bdc3d837 Bingbu Cao 2025-05-29 129 } a516d36bdc3d837 Bingbu Cao 2025-05-29 130 } a516d36bdc3d837 Bingbu Cao 2025-05-29 131 format->format.code = code; a516d36bdc3d837 Bingbu Cao 2025-05-29 132 format->format.field = V4L2_FIELD_NONE; a516d36bdc3d837 Bingbu Cao 2025-05-29 133 a516d36bdc3d837 Bingbu Cao 2025-05-29 134 /* Store the format and propagate it to the source pad. */ a516d36bdc3d837 Bingbu Cao 2025-05-29 135 fmt = v4l2_subdev_state_get_format(state, format->pad, format->stream); a516d36bdc3d837 Bingbu Cao 2025-05-29 136 if (!fmt) a516d36bdc3d837 Bingbu Cao 2025-05-29 137 return -EINVAL; a516d36bdc3d837 Bingbu Cao 2025-05-29 138 a516d36bdc3d837 Bingbu Cao 2025-05-29 139 *fmt = format->format; a516d36bdc3d837 Bingbu Cao 2025-05-29 140 a516d36bdc3d837 Bingbu Cao 2025-05-29 141 if (!(sd->entity.pads[format->pad].flags & MEDIA_PAD_FL_SINK)) a516d36bdc3d837 Bingbu Cao 2025-05-29 142 return 0; a516d36bdc3d837 Bingbu Cao 2025-05-29 143 a516d36bdc3d837 Bingbu Cao 2025-05-29 144 /* propagate format to following source pad */ a516d36bdc3d837 Bingbu Cao 2025-05-29 145 fmt = v4l2_subdev_state_get_opposite_stream_format(state, format->pad, a516d36bdc3d837 Bingbu Cao 2025-05-29 146 format->stream); a516d36bdc3d837 Bingbu Cao 2025-05-29 147 if (!fmt) a516d36bdc3d837 Bingbu Cao 2025-05-29 148 return -EINVAL; a516d36bdc3d837 Bingbu Cao 2025-05-29 149 a516d36bdc3d837 Bingbu Cao 2025-05-29 150 *fmt = format->format; a516d36bdc3d837 Bingbu Cao 2025-05-29 151 a516d36bdc3d837 Bingbu Cao 2025-05-29 152 ret = v4l2_subdev_routing_find_opposite_end(&state->routing, a516d36bdc3d837 Bingbu Cao 2025-05-29 153 format->pad, a516d36bdc3d837 Bingbu Cao 2025-05-29 154 format->stream, a516d36bdc3d837 Bingbu Cao 2025-05-29 155 &other_pad, a516d36bdc3d837 Bingbu Cao 2025-05-29 156 &other_stream); a516d36bdc3d837 Bingbu Cao 2025-05-29 157 if (ret) a516d36bdc3d837 Bingbu Cao 2025-05-29 158 return -EINVAL; a516d36bdc3d837 Bingbu Cao 2025-05-29 159 a516d36bdc3d837 Bingbu Cao 2025-05-29 160 crop = v4l2_subdev_state_get_crop(state, other_pad, other_stream); a516d36bdc3d837 Bingbu Cao 2025-05-29 161 /* reset crop */ a516d36bdc3d837 Bingbu Cao 2025-05-29 162 crop->left = 0; a516d36bdc3d837 Bingbu Cao 2025-05-29 163 crop->top = 0; a516d36bdc3d837 Bingbu Cao 2025-05-29 164 crop->width = fmt->width; a516d36bdc3d837 Bingbu Cao 2025-05-29 165 crop->height = fmt->height; a516d36bdc3d837 Bingbu Cao 2025-05-29 166 a516d36bdc3d837 Bingbu Cao 2025-05-29 167 return 0; a516d36bdc3d837 Bingbu Cao 2025-05-29 168 } a516d36bdc3d837 Bingbu Cao 2025-05-29 169 :::::: The code at line 101 was first introduced by commit :::::: a516d36bdc3d8373f904af57c95e76d6f921cf1c media: staging/ipu7: add IPU7 input system device driver :::::: TO: Bingbu Cao :::::: CC: Hans Verkuil -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki