[linuxtv-media:master 180/301] drivers/media/usb/em28xx/em28xx-dvb.c:1140:26: error: implicit declaration of function 'dvb_module_probe'; did you mean '__module_get'?

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

 



tree:   git://linuxtv.org/media_tree.git master
head:   e68854a2588a923b31eebce348f8020374843f8e
commit: ad32495b1513fe8cbab717411b9cd8d2d285de30 [180/301] media: em28xx-dvb: simplify DVB module probing logic
config: x86_64-randconfig-b0-03080927 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout ad32495b1513fe8cbab717411b9cd8d2d285de30
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28174_dvb_init_pctv_460e':
>> drivers/media/usb/em28xx/em28xx-dvb.c:1140:26: error: implicit declaration of function 'dvb_module_probe'; did you mean '__module_get'? [-Werror=implicit-function-declaration]
     dvb->i2c_client_demod = dvb_module_probe("tda10071", "tda10071_cx24118",
                             ^~~~~~~~~~~~~~~~
                             __module_get
   drivers/media/usb/em28xx/em28xx-dvb.c:1140:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_demod = dvb_module_probe("tda10071", "tda10071_cx24118",
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1151:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_sec = dvb_module_probe("a8293", NULL,
                         ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1155:3: error: implicit declaration of function 'dvb_module_release'; did you mean 'dvb_dmxdev_release'? [-Werror=implicit-function-declaration]
      dvb_module_release(dvb->i2c_client_demod);
      ^~~~~~~~~~~~~~~~~~
      dvb_dmxdev_release
   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28178_dvb_init_pctv_461e':
   drivers/media/usb/em28xx/em28xx-dvb.c:1178:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_demod = dvb_module_probe("m88ds3103", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1190:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_tuner = dvb_module_probe("ts2020", "ts2022",
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1204:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_sec = dvb_module_probe("a8293", NULL,
                         ^
   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28178_dvb_init_pctv_292e':
   drivers/media/usb/em28xx/em28xx-dvb.c:1228:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_demod = dvb_module_probe("si2168", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1240:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_tuner = dvb_module_probe("si2157", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28178_dvb_init_terratec_t2_stick_hd':
   drivers/media/usb/em28xx/em28xx-dvb.c:1264:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_demod = dvb_module_probe("si2168", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1277:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_tuner = dvb_module_probe("si2157", "si2146",
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28178_dvb_init_plex_px_bcud':
   drivers/media/usb/em28xx/em28xx-dvb.c:1295:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_demod = dvb_module_probe("tc90522", "tc90522sat",
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1305:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_tuner = dvb_module_probe("qm1d1c0042", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28174_dvb_init_hauppauge_wintv_dualhd_dvb':
   drivers/media/usb/em28xx/em28xx-dvb.c:1333:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_demod = dvb_module_probe("si2168", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1348:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_tuner = dvb_module_probe("si2157", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28174_dvb_init_hauppauge_wintv_dualhd_01595':
   drivers/media/usb/em28xx/em28xx-dvb.c:1373:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_demod = dvb_module_probe("lgdt3306a", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c:1388:24: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     dvb->i2c_client_tuner = dvb_module_probe("si2157", NULL,
                           ^
   drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_init':
   drivers/media/usb/em28xx/em28xx-dvb.c:1816:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      dvb->i2c_client_tuner = dvb_module_probe("tda18212", NULL,
                            ^
   cc1: some warnings being treated as errors

vim +1140 drivers/media/usb/em28xx/em28xx-dvb.c

  1126	
  1127	static int em28174_dvb_init_pctv_460e(struct em28xx *dev)
  1128	{
  1129		struct em28xx_dvb *dvb = dev->dvb;
  1130		struct tda10071_platform_data tda10071_pdata = {};
  1131		struct a8293_platform_data a8293_pdata = {};
  1132	
  1133		/* attach demod + tuner combo */
  1134		tda10071_pdata.clk = 40444000; /* 40.444 MHz */
  1135		tda10071_pdata.i2c_wr_max = 64;
  1136		tda10071_pdata.ts_mode = TDA10071_TS_SERIAL;
  1137		tda10071_pdata.pll_multiplier = 20;
  1138		tda10071_pdata.tuner_i2c_addr = 0x14;
  1139	
> 1140		dvb->i2c_client_demod = dvb_module_probe("tda10071", "tda10071_cx24118",
  1141							 &dev->i2c_adap[dev->def_i2c_bus],
  1142							 0x55, &tda10071_pdata);
  1143		if (!dvb->i2c_client_demod)
  1144			return -ENODEV;
  1145	
  1146		dvb->fe[0] = tda10071_pdata.get_dvb_frontend(dvb->i2c_client_demod);
  1147	
  1148		/* attach SEC */
  1149		a8293_pdata.dvb_frontend = dvb->fe[0];
  1150	
  1151		dvb->i2c_client_sec = dvb_module_probe("a8293", NULL,
  1152						       &dev->i2c_adap[dev->def_i2c_bus],
  1153						       0x08, &a8293_pdata);
  1154		if (!dvb->i2c_client_sec) {
  1155			dvb_module_release(dvb->i2c_client_demod);
  1156			return -ENODEV;
  1157		}
  1158	
  1159		return 0;
  1160	}
  1161	

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