[linuxtv-media:fixes 10/11] drivers/media/pci/ttpci/av7110_av.c:101:10: error: too few arguments to function 'dvbdmxfeed->cb.ts'

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

 



tree:   git://linuxtv.org/media_tree.git fixes
head:   0e0751a4b9ee82ff086472ab4e81ee693fbe091a
commit: a3938f1b749cbedf47c4cb6af08f1c29e9418007 [10/11] media: dvb: update buffer mmaped flags and frame counter
config: i386-randconfig-s0-201807 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout a3938f1b749cbedf47c4cb6af08f1c29e9418007
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   drivers/media/pci/ttpci/av7110_av.c: In function 'av7110_record_cb':
>> drivers/media/pci/ttpci/av7110_av.c:101:10: error: too few arguments to function 'dvbdmxfeed->cb.ts'
      return dvbdmxfeed->cb.ts(buf, len, NULL, 0,
             ^~~~~~~~~~
   drivers/media/pci/ttpci/av7110_av.c: In function 'dvb_filter_pes2ts_cb':
   drivers/media/pci/ttpci/av7110_av.c:111:2: error: too few arguments to function 'dvbdmxfeed->cb.ts'
     dvbdmxfeed->cb.ts(data, 188, NULL, 0,
     ^~~~~~~~~~
   drivers/media/pci/ttpci/av7110_av.c: In function 'p_to_t':
>> drivers/media/pci/ttpci/av7110_av.c:817:3: error: too few arguments to function 'feed->cb.ts'
      feed->cb.ts(obuf, 188, NULL, 0, &feed->feed.ts);
      ^~~~
   drivers/media/pci/ttpci/av7110_av.c: In function 'av7110_record_cb':
>> drivers/media/pci/ttpci/av7110_av.c:105:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
--
   drivers/media/pci/ttpci/av7110.c: In function 'DvbDmxFilterCallback':
>> drivers/media/pci/ttpci/av7110.c:325:10: error: too few arguments to function 'dvbdmxfilter->feed->cb.sec'
      return dvbdmxfilter->feed->cb.sec(buffer1, buffer1_len,
             ^~~~~~~~~~~~
>> drivers/media/pci/ttpci/av7110.c:332:11: error: too few arguments to function 'dvbdmxfilter->feed->cb.ts'
       return dvbdmxfilter->feed->cb.ts(buffer1, buffer1_len,
              ^~~~~~~~~~~~

vim +101 drivers/media/pci/ttpci/av7110_av.c

^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   90  
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   91  
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   92  int av7110_record_cb(struct dvb_filter_pes2ts *p2t, u8 *buf, size_t len)
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   93  {
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   94  	struct dvb_demux_feed *dvbdmxfeed = (struct dvb_demux_feed *) p2t->priv;
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   95  
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   96  	if (!(dvbdmxfeed->ts_type & TS_PACKET))
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   97  		return 0;
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   98  	if (buf[3] == 0xe0)	 // video PES do not have a length in TS
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16   99  		buf[4] = buf[5] = 0;
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  100  	if (dvbdmxfeed->ts_type & TS_PAYLOAD_ONLY)
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16 @101  		return dvbdmxfeed->cb.ts(buf, len, NULL, 0,
2f684b23 drivers/media/pci/ttpci/av7110_av.c Mauro Carvalho Chehab 2015-10-06  102  					 &dvbdmxfeed->feed.ts);
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  103  	else
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  104  		return dvb_filter_pes2ts(p2t, buf, len, 1);
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16 @105  }
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  106  
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  107  static int dvb_filter_pes2ts_cb(void *priv, unsigned char *data)
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  108  {
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  109  	struct dvb_demux_feed *dvbdmxfeed = (struct dvb_demux_feed *) priv;
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  110  
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16 @111  	dvbdmxfeed->cb.ts(data, 188, NULL, 0,
2f684b23 drivers/media/pci/ttpci/av7110_av.c Mauro Carvalho Chehab 2015-10-06  112  			  &dvbdmxfeed->feed.ts);
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  113  	return 0;
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  114  }
^1da177e drivers/media/dvb/ttpci/av7110_av.c Linus Torvalds        2005-04-16  115  

:::::: The code at line 101 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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