tree:   git://linuxtv.org/media_tree.git fixes
head:   7dbdd16a79a9d27d7dca0a49029fc8966dcfecc5
commit: ec5b100462543aee1f3e139e168699fd3b05cdc6 [3/12] media: dvb: fix 
DVB_MMAP symbol name
config: x86_64-randconfig-s2-02280514 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout ec5b100462543aee1f3e139e168699fd3b05cdc6
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the linuxtv-media/fixes HEAD 7dbdd16a79a9d27d7dca0a49029fc8966dcfecc5 
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:183: undefined reference to 
>> `vb2_vmalloc_memops'

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

57868acc Satendra Singh Thakur 2017-12-18  164  
57868acc Satendra Singh Thakur 2017-12-18  165  /*
57868acc Satendra Singh Thakur 2017-12-18  166   * Videobuf operations
57868acc Satendra Singh Thakur 2017-12-18  167   */
57868acc Satendra Singh Thakur 2017-12-18  168  int dvb_vb2_init(struct 
dvb_vb2_ctx *ctx, const char *name, int nonblocking)
57868acc Satendra Singh Thakur 2017-12-18  169  {
57868acc Satendra Singh Thakur 2017-12-18  170          struct vb2_queue *q = 
&ctx->vb_q;
57868acc Satendra Singh Thakur 2017-12-18  171          int ret;
57868acc Satendra Singh Thakur 2017-12-18  172  
57868acc Satendra Singh Thakur 2017-12-18  173          memset(ctx, 0, 
sizeof(struct dvb_vb2_ctx));
57868acc Satendra Singh Thakur 2017-12-18  174          q->type = 
DVB_BUF_TYPE_CAPTURE;
57868acc Satendra Singh Thakur 2017-12-18  175          /**capture type*/
57868acc Satendra Singh Thakur 2017-12-18  176          q->is_output = 0;
57868acc Satendra Singh Thakur 2017-12-18  177          /**only mmap is 
supported currently*/
57868acc Satendra Singh Thakur 2017-12-18  178          q->io_modes = VB2_MMAP;
57868acc Satendra Singh Thakur 2017-12-18  179          q->drv_priv = ctx;
57868acc Satendra Singh Thakur 2017-12-18  180          q->buf_struct_size = 
sizeof(struct dvb_buffer);
57868acc Satendra Singh Thakur 2017-12-18  181          q->min_buffers_needed = 
1;
57868acc Satendra Singh Thakur 2017-12-18  182          q->ops = &dvb_vb2_qops;
57868acc Satendra Singh Thakur 2017-12-18 @183          q->mem_ops = 
&vb2_vmalloc_memops;
57868acc Satendra Singh Thakur 2017-12-18  184          q->buf_ops = 
&dvb_vb2_buf_ops;
57868acc Satendra Singh Thakur 2017-12-18  185          q->num_buffers = 0;
57868acc Satendra Singh Thakur 2017-12-18  186          ret = 
vb2_core_queue_init(q);
57868acc Satendra Singh Thakur 2017-12-18  187          if (ret) {
57868acc Satendra Singh Thakur 2017-12-18  188                  ctx->state = 
DVB_VB2_STATE_NONE;
57868acc Satendra Singh Thakur 2017-12-18  189                  dprintk(1, 
"[%s] errno=%d\n", ctx->name, ret);
57868acc Satendra Singh Thakur 2017-12-18  190                  return ret;
57868acc Satendra Singh Thakur 2017-12-18  191          }
57868acc Satendra Singh Thakur 2017-12-18  192  
57868acc Satendra Singh Thakur 2017-12-18  193          mutex_init(&ctx->mutex);
57868acc Satendra Singh Thakur 2017-12-18  194          
spin_lock_init(&ctx->slock);
57868acc Satendra Singh Thakur 2017-12-18  195          
INIT_LIST_HEAD(&ctx->dvb_q);
57868acc Satendra Singh Thakur 2017-12-18  196  
e73f9f68 Mauro Carvalho Chehab 2017-12-29  197          strlcpy(ctx->name, 
name, DVB_VB2_NAME_MAX);
57868acc Satendra Singh Thakur 2017-12-18  198          ctx->nonblocking = 
nonblocking;
57868acc Satendra Singh Thakur 2017-12-18  199          ctx->state = 
DVB_VB2_STATE_INIT;
57868acc Satendra Singh Thakur 2017-12-18  200  
57868acc Satendra Singh Thakur 2017-12-18  201          dprintk(3, "[%s]\n", 
ctx->name);
57868acc Satendra Singh Thakur 2017-12-18  202  
57868acc Satendra Singh Thakur 2017-12-18  203          return 0;
57868acc Satendra Singh Thakur 2017-12-18  204  }
57868acc Satendra Singh Thakur 2017-12-18  205  

:::::: The code at line 183 was first introduced by commit
:::::: 57868acc369ab73ec8f6b43a0c6749077376b189 media: videobuf2: Add new uAPI 
for DVB streaming I/O

:::::: TO: Satendra Singh Thakur <[email protected]>
:::::: CC: Mauro Carvalho Chehab <[email protected]>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to