Re: [PATCH v1] media: i2c: add lt6911uxe hdmi bridge driver

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

 



Hi Dongcheng,

kernel test robot noticed the following build errors:

[auto build test ERROR on 6ba59ff4227927d3a8530fc2973b80e94b54d58f]

url:    https://github.com/intel-lab-lkp/linux/commits/Dongcheng-Yan/media-i2c-add-lt6911uxe-hdmi-bridge-driver/20241010-161811
base:   6ba59ff4227927d3a8530fc2973b80e94b54d58f
patch link:    https://lore.kernel.org/r/20241010071010.3275452-1-dongcheng.yan%40intel.com
patch subject: [PATCH v1] media: i2c: add lt6911uxe hdmi bridge driver
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241011/202410111318.K3x5juFo-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241011/202410111318.K3x5juFo-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/202410111318.K3x5juFo-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/media/i2c/lt6911uxe.c: In function 'lt6911uxe_init_controls':
>> drivers/media/i2c/lt6911uxe.c:222:50: error: 'V4L2_CID_CUR_LINK_FREQ' undeclared (first use in this function); did you mean 'V4L2_CID_LINK_FREQ'?
     222 |                                                  V4L2_CID_CUR_LINK_FREQ, 0,
         |                                                  ^~~~~~~~~~~~~~~~~~~~~~
         |                                                  V4L2_CID_LINK_FREQ
   drivers/media/i2c/lt6911uxe.c:222:50: note: each undeclared identifier is reported only once for each function it appears in


vim +222 drivers/media/i2c/lt6911uxe.c

   208	
   209	static int lt6911uxe_init_controls(struct lt6911uxe *lt6911uxe)
   210	{
   211		struct v4l2_ctrl_handler *ctrl_hdlr;
   212		s64 pixel_rate;
   213		int ret;
   214	
   215		ctrl_hdlr = &lt6911uxe->ctrl_handler;
   216		ret = v4l2_ctrl_handler_init(ctrl_hdlr, 8);
   217		if (ret)
   218			return ret;
   219	
   220		ctrl_hdlr->lock = &lt6911uxe->mutex;
   221		lt6911uxe->link_freq = v4l2_ctrl_new_std(ctrl_hdlr, NULL,
 > 222							 V4L2_CID_CUR_LINK_FREQ, 0,
   223							 LT6911UXE_MAX_LINK_FREQ, 1,
   224							 lt6911uxe->cur_mode.link_freq);
   225	
   226		pixel_rate = get_pixel_rate(lt6911uxe);
   227		lt6911uxe->pixel_rate = v4l2_ctrl_new_std(ctrl_hdlr, NULL,
   228							  V4L2_CID_PIXEL_RATE,
   229							  pixel_rate, pixel_rate, 1,
   230							  pixel_rate);
   231	
   232		if (ctrl_hdlr->error) {
   233			ret = ctrl_hdlr->error;
   234			goto hdlr_free;
   235		}
   236		lt6911uxe->sd.ctrl_handler = ctrl_hdlr;
   237	
   238		return 0;
   239	
   240	hdlr_free:
   241		v4l2_ctrl_handler_free(ctrl_hdlr);
   242		return ret;
   243	}
   244	

-- 
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