[linuxtv-media:master 3281/3294] drivers/media/dvb-core/dvb_vb2.c:170: undefined reference to `vb2_vmalloc_memops'

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

 



tree:   git://linuxtv.org/media_tree.git master
head:   201b56737f4ea59ee840ebdb88a9970ea6d49cf1
commit: 57868acc369ab73ec8f6b43a0c6749077376b189 [3281/3294] media: videobuf2: Add new uAPI for DVB streaming I/O
config: i386-randconfig-n0-201752 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout 57868acc369ab73ec8f6b43a0c6749077376b189
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the linuxtv-media/master HEAD 201b56737f4ea59ee840ebdb88a9970ea6d49cf1 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/media/dvb-core/dvb_vb2.o: In function `dvb_vb2_init':
>> drivers/media/dvb-core/dvb_vb2.c:170: undefined reference to `vb2_vmalloc_memops'

vim +170 drivers/media/dvb-core/dvb_vb2.c

   151	
   152	/*
   153	 * Videobuf operations
   154	 */
   155	int dvb_vb2_init(struct dvb_vb2_ctx *ctx, const char *name, int nonblocking)
   156	{
   157		struct vb2_queue *q = &ctx->vb_q;
   158		int ret;
   159	
   160		memset(ctx, 0, sizeof(struct dvb_vb2_ctx));
   161		q->type = DVB_BUF_TYPE_CAPTURE;
   162		/**capture type*/
   163		q->is_output = 0;
   164		/**only mmap is supported currently*/
   165		q->io_modes = VB2_MMAP;
   166		q->drv_priv = ctx;
   167		q->buf_struct_size = sizeof(struct dvb_buffer);
   168		q->min_buffers_needed = 1;
   169		q->ops = &dvb_vb2_qops;
 > 170		q->mem_ops = &vb2_vmalloc_memops;
   171		q->buf_ops = &dvb_vb2_buf_ops;
   172		q->num_buffers = 0;
   173		ret = vb2_core_queue_init(q);
   174		if (ret) {
   175			ctx->state = DVB_VB2_STATE_NONE;
   176			dprintk(1, "[%s] errno=%d\n", ctx->name, ret);
   177			return ret;
   178		}
   179	
   180		mutex_init(&ctx->mutex);
   181		spin_lock_init(&ctx->slock);
   182		INIT_LIST_HEAD(&ctx->dvb_q);
   183	
   184		strncpy(ctx->name, name, DVB_VB2_NAME_MAX);
   185		ctx->nonblocking = nonblocking;
   186		ctx->state = DVB_VB2_STATE_INIT;
   187	
   188		dprintk(3, "[%s]\n", ctx->name);
   189	
   190		return 0;
   191	}
   192	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[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