[PATCH v6 19/24] media: i2c: maxim-serdes: add MAX96724 driver
kernel test robot
lkp at intel.com
Thu Jul 17 13:39:46 PDT 2025
Hi Cosmin,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20250716]
[also build test ERROR on v6.16-rc6]
[cannot apply to robh/for-next staging/staging-testing staging/staging-next staging/staging-linus arm64/for-next/core linus/master v6.16-rc6 v6.16-rc5 v6.16-rc4]
[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/Cosmin-Tanislav/media-mc-Add-INTERNAL-pad-flag/20250717-033901
base: next-20250716
patch link: https://lore.kernel.org/r/20250716193111.942217-20-demonsingur%40gmail.com
patch subject: [PATCH v6 19/24] media: i2c: maxim-serdes: add MAX96724 driver
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20250718/202507180433.nXvvwmFy-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250718/202507180433.nXvvwmFy-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 <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507180433.nXvvwmFy-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/i2c/maxim-serdes/max96724.c:273:6: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
273 | FIELD_PREP(MAX96724_PWR1_RESET_ALL, 1));
| ^
drivers/media/i2c/maxim-serdes/max96724.c:494:6: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
494 | FIELD_PREP(MAX96724_MIPI_TX10_CSI2_LANE_CNT,
| ^
drivers/media/i2c/maxim-serdes/max96724.c:693:7: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
693 | FIELD_PREP(MAX96724_MIPI_TX13_MAP_SRC_DT,
| ^
drivers/media/i2c/maxim-serdes/max96724.c:741:7: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
741 | FIELD_PREP(MAX96724_MIPI_TX57_TUN_DEST,
| ^
drivers/media/i2c/maxim-serdes/max96724.c:914:8: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
914 | FIELD_PREP(MAX96724_PATGEN_0_VTG_MODE,
| ^
drivers/media/i2c/maxim-serdes/max96724.c:957:6: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
957 | FIELD_PREP(MAX96724_VPRBS_PATGEN_CLK_SRC,
| ^
drivers/media/i2c/maxim-serdes/max96724.c:985:7: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
985 | FIELD_PREP(MAX96724_PATGEN_1_PATGEN_MODE,
| ^
7 errors generated.
vim +/FIELD_PREP +273 drivers/media/i2c/maxim-serdes/max96724.c
262
263 static int max96724_reset(struct max96724_priv *priv)
264 {
265 int ret;
266
267 ret = max96724_wait_for_device(priv);
268 if (ret)
269 return ret;
270
271 ret = regmap_update_bits(priv->regmap, MAX96724_PWR1,
272 MAX96724_PWR1_RESET_ALL,
> 273 FIELD_PREP(MAX96724_PWR1_RESET_ALL, 1));
274 if (ret)
275 return ret;
276
277 fsleep(10000);
278
279 return max96724_wait_for_device(priv);
280 }
281
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list