Re: [PATCH v4 1/1] media: v4l2-common: Add helper function media_bus_fmt_to_csi2_(bpp|dt)()
From: kernel test robot
Date: Fri May 15 2026 - 14:25:12 EST
Hi Frank,
kernel test robot noticed the following build errors:
[auto build test ERROR on linuxtv-media-pending/master]
[also build test ERROR on media-tree/master sailus-media-tree/master linus/master v7.1-rc3 next-20260508]
[cannot apply to sailus-media-tree/streams]
[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/Frank-Li/media-v4l2-common-Add-helper-function-media_bus_fmt_to_csi2_-bpp-dt/20260515-161325
base: https://git.linuxtv.org/media-ci/media-pending.git master
patch link: https://lore.kernel.org/r/20260513205949.105444-1-Frank.Li%40nxp.com
patch subject: [PATCH v4 1/1] media: v4l2-common: Add helper function media_bus_fmt_to_csi2_(bpp|dt)()
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260516/202605160116.STJsNWSa-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260516/202605160116.STJsNWSa-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605160116.STJsNWSa-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from drivers/media/platform/rockchip/rkisp1/rkisp1-common.c:8:
>> include/media/mipi-csi2.h:58:1: error: unknown type name 'u32'
58 | u32 media_bus_fmt_to_csi2_dt(int bus_fmt);
| ^~~
include/media/mipi-csi2.h:71:1: error: unknown type name 'u32'
71 | u32 media_bus_fmt_to_csi2_bpp(int bus_fmt);
| ^~~
vim +/u32 +58 include/media/mipi-csi2.h
49
50 /**
51 * media_bus_fmt_to_csi2_dt - Get MIPI CSI2 data type from media bus format
52 *
53 * @bus_fmt: media bus format identifier (MEDIA_BUS_FMT_*)
54 *
55 * return MIPI CSI2 data type MIPI_CSI2_DT_*, MIPI_CSI2_DT_INVALIDATE means
56 * can't get data type from bus_fmt.
57 */
> 58 u32 media_bus_fmt_to_csi2_dt(int bus_fmt);
59
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki