[linux-next:master 6700/7473] drivers/staging/media/cec/cec-adap.c:141:3: error: unknown field 'lost_msgs' specified in initializer

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d936b5e461b9545fa9a8a3357a40eea17aea5e28
commit: ca684386e6e21ba1511061f71577cdb6c3f2b3d3 [6700/7473] [media] cec: add HDMI CEC framework (api)
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ca684386e6e21ba1511061f71577cdb6c3f2b3d3
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   drivers/staging/media/cec/cec-adap.c: In function 'cec_queue_msg_fh':
>> drivers/staging/media/cec/cec-adap.c:141:3: error: unknown field 'lost_msgs' specified in initializer

vim +/lost_msgs +141 drivers/staging/media/cec/cec-adap.c

9881fe0c Hans Verkuil 2016-06-25  125  	struct cec_fh *fh;
9881fe0c Hans Verkuil 2016-06-25  126  
9881fe0c Hans Verkuil 2016-06-25  127  	mutex_lock(&adap->devnode.fhs_lock);
9881fe0c Hans Verkuil 2016-06-25  128  	list_for_each_entry(fh, &adap->devnode.fhs, list)
9881fe0c Hans Verkuil 2016-06-25  129  		cec_queue_event_fh(fh, ev, ts);
9881fe0c Hans Verkuil 2016-06-25  130  	mutex_unlock(&adap->devnode.fhs_lock);
9881fe0c Hans Verkuil 2016-06-25  131  }
9881fe0c Hans Verkuil 2016-06-25  132  
9881fe0c Hans Verkuil 2016-06-25  133  /*
9881fe0c Hans Verkuil 2016-06-25  134   * Queue a new message for this filehandle. If there is no more room
9881fe0c Hans Verkuil 2016-06-25  135   * in the queue, then send the LOST_MSGS event instead.
9881fe0c Hans Verkuil 2016-06-25  136   */
9881fe0c Hans Verkuil 2016-06-25  137  static void cec_queue_msg_fh(struct cec_fh *fh, const struct cec_msg *msg)
9881fe0c Hans Verkuil 2016-06-25  138  {
9881fe0c Hans Verkuil 2016-06-25  139  	static const struct cec_event ev_lost_msg = {
9881fe0c Hans Verkuil 2016-06-25  140  		.event = CEC_EVENT_LOST_MSGS,
9881fe0c Hans Verkuil 2016-06-25 @141  		.lost_msgs.lost_msgs = 1,
9881fe0c Hans Verkuil 2016-06-25  142  	};
9881fe0c Hans Verkuil 2016-06-25  143  	struct cec_msg_entry *entry;
9881fe0c Hans Verkuil 2016-06-25  144  
9881fe0c Hans Verkuil 2016-06-25  145  	mutex_lock(&fh->lock);
9881fe0c Hans Verkuil 2016-06-25  146  	entry = kmalloc(sizeof(*entry), GFP_KERNEL);
9881fe0c Hans Verkuil 2016-06-25  147  	if (!entry)
9881fe0c Hans Verkuil 2016-06-25  148  		goto lost_msgs;
9881fe0c Hans Verkuil 2016-06-25  149  

:::::: The code at line 141 was first introduced by commit
:::::: 9881fe0ca187c213eb3a6a8e78e45ad4d1cec171 [media] cec: add HDMI CEC framework (adapter)

:::::: TO: Hans Verkuil <hans.verkuil@xxxxxxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[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