Re: [PATCH v2 3/4] media: i2c: add MAX96714 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Julien,

kernel test robot noticed the following build errors:

[auto build test ERROR on media-tree/master]
[also build test ERROR on linuxtv-media-stage/master linus/master v6.7-rc4 next-20231208]
[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/Julien-Massot/dt-bindings-media-add-Maxim-MAX96714F-GMSL2-Deserializer/20231208-223758
base:   git://linuxtv.org/media_tree.git master
patch link:    https://lore.kernel.org/r/20231208143359.469049-4-julien.massot%40collabora.com
patch subject: [PATCH v2 3/4] media: i2c: add MAX96714 driver
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20231209/202312092303.ww5viNmZ-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231209/202312092303.ww5viNmZ-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/202312092303.ww5viNmZ-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/media/i2c/max96714.c: In function 'max96714_csi_status':
>> drivers/media/i2c/max96714.c:380:16: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
     380 |         freq = FIELD_GET(CSI_DPLL_FREQ_MASK, freq);
         |                ^~~~~~~~~
   drivers/media/i2c/max96714.c: In function 'max96714_init_tx_port':
>> drivers/media/i2c/max96714.c:600:15: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
     600 |         val = FIELD_PREP(MAX96714_CSI2_LANE_CNT_MASK, mipi->num_data_lanes - 1);
         |               ^~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/FIELD_GET +380 drivers/media/i2c/max96714.c

   373	
   374	static void max96714_csi_status(struct max96714_priv *priv)
   375	{
   376		struct device *dev = &priv->client->dev;
   377		u8 freq;
   378	
   379		max96714_read(priv, MAX96714_BACKTOP25, &freq);
 > 380		freq = FIELD_GET(CSI_DPLL_FREQ_MASK, freq);
   381	
   382		dev_info(dev, "CSI controller DPLL freq:%u00MHz CSIPHY enabled:%d\n",
   383			 freq, max96714_tx_port_enabled(priv));
   384	}
   385	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux