You are not logged in.

#1 2020-09-25 17:07:05

ck2katArchL
Member
Registered: 2020-03-23
Posts: 4

[SOLVED]tbsecp3-driver-git-dkms r20200325.042649.39b474f-2 won't build

This package appeared to fail the DKMS re-build procedure when a recent system upgrade changed the Linux-Hardened kernel from version; 5.7.19.a-1 to version; 5.8.9.a-1. The pacman log states;

dkms install --no-depmod -m tbsecp3-driver-git -v r20200325.043528.caea324 -k 5.8.9.a-1-hardened. 
Error! Bad return status for module build on kernel: 5.8.9.a-1-hardened (x86_64). 
Consult /var/lib/dkms/tbsecp3-driver-git/r20200325.043528.caea324/build/make.log for more information. 
Warning, `dkms install --no-depmod -m tbsecp3-driver-git -v r20200325.043528.caea324 -k 5.8.9.a-1-hardened' returned 10.

The only error that I can find in the; make.log file states;

/var/lib/dkms/tbsecp3-driver-git/r20200325.043528.caea324/build/tbsecp3/tbsecp3-dvb.c: In function ‘tbsecp3_frontend_attach’:
/var/lib/dkms/tbsecp3-driver-git/r20200325.043528.caea324/build/tbsecp3/tbsecp3-dvb.c:889:18: error: implicit declaration of function ‘i2c_new_device’; did you mean ‘first_net_device’? [-Werror=implicit-function-declaration]
889 |   client_demod = i2c_new_device(i2c, &info);
    |                  ^~~~~~~~~~~~~~
    |                  first_net_device

This looks similar to a problem I had, last March, with a previous version of this package, see; https://bbs.archlinux.org/viewtopic.php?id=253940
I have added a comment FAO @AlexanderS on the package's AUR page. Whilst I await a reply to that comment, does anyone else know how to solve this so I can get this driver working again?
Thank you

Last edited by ck2katArchL (2020-09-25 19:30:10)

Offline

#2 2020-09-25 17:43:31

loqs
Member
Registered: 2014-03-06
Posts: 11,869

Re: [SOLVED]tbsecp3-driver-git-dkms r20200325.042649.39b474f-2 won't build

Works for me with the current linux-hardened 5.8.11.a-1

DKMS make.log for tbsecp3-driver-git-r20200925.193351.d0cb9ce for kernel 5.8.11.a-1-hardened (x86_64)
Fri Sep 25 05:40:38 PM UTC 2020
make: Entering directory '/usr/lib/modules/5.8.11.a-1-hardened/build'
  AR      /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/built-in.a
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-core.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-cards.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-i2c.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dma.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-ca.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-asi.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2101.o
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2101.c: In function ‘tas2101_attach’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2101.c:685:1: warning: label ‘err1’ defined but not used [-Wunused-label]
  685 | err1:
      | ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c: In function ‘tbs6302se_read_mac’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:165:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  165 |   if((tmpbuf[0]&0x4) == 1) // bit2==1 mcu busy
      |                      ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c: In function ‘tbs6304_read_mac’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:233:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  233 |   if((tmpbuf[0]&0x4) == 1) // bit2==1 mcu busy
      |                      ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c: In function ‘tbs6308_read_mac_ext’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:339:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  339 |   if((tmpbuf[0]&0x4) == 1) // bit2==1 mcu busy
      |                      ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:309:22: warning: unused variable ‘dev’ [-Wunused-variable]
  309 |  struct tbsecp3_dev *dev = adap->dev;
      |                      ^~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c: In function ‘tbs6301_read_mac’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:402:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  402 |   if((tmpbuf[0]&0x4) == 1) // bit2==1 mcu busy
      |                      ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-asi.c: In function ‘asi_write16bit’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-asi.c:80:6: warning: unused variable ‘regData’ [-Wunused-variable]
   80 |  int regData;
      |      ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c: In function ‘tbsecp3_frontend_attach’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:1213:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1213 |   if (adapter->fe == NULL)
      |   ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:1215:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1215 |       if(adapter->nr <4)
      |       ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:1255:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 1255 |   int regdata;
      |   ^~~
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.o
At top level:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:823:12: warning: ‘max_send_burst’ defined but not used [-Wunused-function]
  823 | static int max_send_burst(struct dvb_frontend *fe, enum fe_sec_mini_cmd burst)
      |            ^~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3/tbsecp3-dvb.c:818:12: warning: ‘max_send_master_cmd’ defined but not used [-Wunused-function]
  818 | static int max_send_master_cmd(struct dvb_frontend *fe, struct dvb_diseqc_master_cmd *cmd)
      |            ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stv091x.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135-fe.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stfe_utilities.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/oxford_anafe_func.o
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c: In function ‘ChipSetRegisters’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:621:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  621 |       data[nbdata++]=(u8)(MSB(hChip->pRegMapImage[firstRegIndex].Addr)); /* 16 bits sub addresses */
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:622:6: note: here
  622 |      case STCHIP_MODE_SUBADR_8:
      |      ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:624:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  624 |       data[nbdata++]=(u8)(LSB(hChip->pRegMapImage[firstRegIndex].Addr)); /* 8 bits sub addresses */
      |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:625:6: note: here
  625 |      case STCHIP_MODE_NOSUBADR:
      |      ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c: In function ‘ChipGetRegisters’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:694:44: warning: this statement may fall through [-Wimplicit-fallthrough=]
  694 |                                     nbdata = (u8)(nbdata + 1);
      |                                     ~~~~~~~^~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:696:8: note: here
  696 |        case STCHIP_MODE_SUBADR_16:
      |        ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:697:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  697 |         data[nbdata++]=(u8)(MSB(hChip->pRegMapImage[firstRegIndex].Addr)); /* for 16 bits sub addresses */
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:698:8: note: here
  698 |        case STCHIP_MODE_SUBADR_8:
      |        ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:708:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  708 |         if(hChip->Repeater && hChip->RepeaterHost && hChip->RepeaterFn)
      |           ^
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/chip.c:711:8: note: here
  711 |        case STCHIP_MODE_NOSUBADR:
      |        ^~~~
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_init.o
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c: In function ‘send_burst’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:386:6: warning: unused variable ‘i’ [-Wunused-variable]
  386 |  int i = 0,ret = 0;
      |      ^
In file included from ./include/linux/printk.h:404,
                 from ./include/linux/kernel.h:15,
                 from /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:31:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c: In function ‘read_status’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:552:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long long unsigned int’} [-Wformat=]
  552 |   dev_dbg(&state->base->i2c->dev,"pre_bit_error=%u pre_bit_count=%u\n", p->pre_bit_error.stat[0].uvalue, p->pre_bit_count.stat[0].uvalue);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:125:15: note: in definition of macro ‘__dynamic_func_call’
  125 |   func(&id, ##__VA_ARGS__);  \
      |               ^~~~~~~~~~~
./include/linux/dynamic_debug.h:157:2: note: in expansion of macro ‘_dynamic_func_call’
  157 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
      |  ^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:2: note: in expansion of macro ‘dynamic_dev_dbg’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |  ^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:23: note: in expansion of macro ‘dev_fmt’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |                       ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:552:3: note: in expansion of macro ‘dev_dbg’
  552 |   dev_dbg(&state->base->i2c->dev,"pre_bit_error=%u pre_bit_count=%u\n", p->pre_bit_error.stat[0].uvalue, p->pre_bit_count.stat[0].uvalue);
      |   ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:552:50: note: format string is defined here
  552 |   dev_dbg(&state->base->i2c->dev,"pre_bit_error=%u pre_bit_count=%u\n", p->pre_bit_error.stat[0].uvalue, p->pre_bit_count.stat[0].uvalue);
      |                                                 ~^
      |                                                  |
      |                                                  unsigned int
      |                                                 %llu
In file included from ./include/linux/printk.h:404,
                 from ./include/linux/kernel.h:15,
                 from /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:31:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:552:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long long unsigned int’} [-Wformat=]
  552 |   dev_dbg(&state->base->i2c->dev,"pre_bit_error=%u pre_bit_count=%u\n", p->pre_bit_error.stat[0].uvalue, p->pre_bit_count.stat[0].uvalue);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:125:15: note: in definition of macro ‘__dynamic_func_call’
  125 |   func(&id, ##__VA_ARGS__);  \
      |               ^~~~~~~~~~~
./include/linux/dynamic_debug.h:157:2: note: in expansion of macro ‘_dynamic_func_call’
  157 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
      |  ^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:2: note: in expansion of macro ‘dynamic_dev_dbg’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |  ^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:23: note: in expansion of macro ‘dev_fmt’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |                       ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:552:3: note: in expansion of macro ‘dev_dbg’
  552 |   dev_dbg(&state->base->i2c->dev,"pre_bit_error=%u pre_bit_count=%u\n", p->pre_bit_error.stat[0].uvalue, p->pre_bit_count.stat[0].uvalue);
      |   ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:552:67: note: format string is defined here
  552 |   dev_dbg(&state->base->i2c->dev,"pre_bit_error=%u pre_bit_count=%u\n", p->pre_bit_error.stat[0].uvalue, p->pre_bit_count.stat[0].uvalue);
      |                                                                  ~^
      |                                                                   |
      |                                                                   unsigned int
      |                                                                  %llu
In file included from ./include/linux/printk.h:404,
                 from ./include/linux/kernel.h:15,
                 from /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:31:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:587:33: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__u64’ {aka ‘long long unsigned int’} [-Wformat=]
  587 |  dev_dbg(&state->base->i2c->dev,"post_bit_error=%u post_bit_count=%u\n", p->post_bit_error.stat[0].uvalue, p->post_bit_count.stat[0].uvalue);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:125:15: note: in definition of macro ‘__dynamic_func_call’
  125 |   func(&id, ##__VA_ARGS__);  \
      |               ^~~~~~~~~~~
./include/linux/dynamic_debug.h:157:2: note: in expansion of macro ‘_dynamic_func_call’
  157 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
      |  ^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:2: note: in expansion of macro ‘dynamic_dev_dbg’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |  ^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:23: note: in expansion of macro ‘dev_fmt’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |                       ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:587:2: note: in expansion of macro ‘dev_dbg’
  587 |  dev_dbg(&state->base->i2c->dev,"post_bit_error=%u post_bit_count=%u\n", p->post_bit_error.stat[0].uvalue, p->post_bit_count.stat[0].uvalue);
      |  ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:587:50: note: format string is defined here
  587 |  dev_dbg(&state->base->i2c->dev,"post_bit_error=%u post_bit_count=%u\n", p->post_bit_error.stat[0].uvalue, p->post_bit_count.stat[0].uvalue);
      |                                                 ~^
      |                                                  |
      |                                                  unsigned int
      |                                                 %llu
In file included from ./include/linux/printk.h:404,
                 from ./include/linux/kernel.h:15,
                 from /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:31:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:587:33: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘__u64’ {aka ‘long long unsigned int’} [-Wformat=]
  587 |  dev_dbg(&state->base->i2c->dev,"post_bit_error=%u post_bit_count=%u\n", p->post_bit_error.stat[0].uvalue, p->post_bit_count.stat[0].uvalue);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/dynamic_debug.h:125:15: note: in definition of macro ‘__dynamic_func_call’
  125 |   func(&id, ##__VA_ARGS__);  \
      |               ^~~~~~~~~~~
./include/linux/dynamic_debug.h:157:2: note: in expansion of macro ‘_dynamic_func_call’
  157 |  _dynamic_func_call(fmt,__dynamic_dev_dbg,   \
      |  ^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:2: note: in expansion of macro ‘dynamic_dev_dbg’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |  ^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:115:23: note: in expansion of macro ‘dev_fmt’
  115 |  dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |                       ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:587:2: note: in expansion of macro ‘dev_dbg’
  587 |  dev_dbg(&state->base->i2c->dev,"post_bit_error=%u post_bit_count=%u\n", p->post_bit_error.stat[0].uvalue, p->post_bit_count.stat[0].uvalue);
      |  ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:587:68: note: format string is defined here
  587 |  dev_dbg(&state->base->i2c->dev,"post_bit_error=%u post_bit_count=%u\n", p->post_bit_error.stat[0].uvalue, p->post_bit_count.stat[0].uvalue);
      |                                                                   ~^
      |                                                                    |
      |                                                                    unsigned int
      |                                                                   %llu
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c: In function ‘config_ts’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1232:18: warning: unused variable ‘mxl561_xpt_ts_valid’ [-Wunused-variable]
 1232 |  MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = {
      |                  ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1228:18: warning: unused variable ‘mxl561_xpt_ts_sync’ [-Wunused-variable]
 1228 |  MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = {
      |                  ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c: In function ‘load_fw’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1407:46: warning: passing argument 3 of ‘firmware_download’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1407 |  stat = firmware_download(state, fw->size, fw->data);
      |                                            ~~^~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1017:13: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘const u8 * const’ {aka ‘const unsigned char * const’}
 1017 |         u8 *mbinBufferPtr)
      |         ~~~~^~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1396:6: warning: unused variable ‘buf’ [-Wunused-variable]
 1396 |  u8 *buf;
      |      ^~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1394:21: warning: unused variable ‘cfg’ [-Wunused-variable]
 1394 |  struct mxl58x_cfg *cfg = state->base->cfg;
      |                     ^~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c: In function ‘probe’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1443:28: warning: unused variable ‘mpegInterfaceCfg’ [-Wunused-variable]
 1443 |  MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg;
      |                            ^~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1442:18: warning: unused variable ‘j’ [-Wunused-variable]
 1442 |  int fw, status, j;
      |                  ^
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c: In function ‘get_frontend’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:710:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
  710 |   switch ((MXL_HYDRA_PILOTS_E ) regData[DMD_DVBS2_PILOT_ON_OFF_ADDR]) {
      |   ^~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:720:2: note: here
  720 |  case SYS_DVBS:
      |  ^~~~
At top level:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1357:12: warning: ‘config_mux’ defined but not used [-Wunused-function]
 1357 | static int config_mux(struct mxl *state)
      |            ^~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:1169:12: warning: ‘config_ts’ defined but not used [-Wunused-function]
 1169 | static int config_ts(struct mxl *state, MXL_HYDRA_DEMOD_ID_E demodId, MXL_HYDRA_MPEGOUT_PARAM_T *mpegOutParamPtr)
      |            ^~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:343:12: warning: ‘CfgDemodAbortTune’ defined but not used [-Wunused-function]
  343 | static int CfgDemodAbortTune(struct mxl *state)
      |            ^~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:296:13: warning: ‘extract_from_mnemonic’ defined but not used [-Wunused-function]
  296 | static void extract_from_mnemonic(u32 regAddr, u8 lsbPos, u8 width,
      |             ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mxl58x.c:172:12: warning: ‘write_register_block’ defined but not used [-Wunused-function]
  172 | static int write_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
      |            ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:79:9: warning: ‘struct tas2101_regtable’ declared inside parameter list will not be visible outside of this definition or declaration
   79 |  struct tas2101_regtable *regtable, int len)
      |         ^~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c: In function ‘tas2971_attach’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:349:1: warning: label ‘err3’ defined but not used [-Wunused-label]
  349 | err3:
      | ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:264:5: warning: unused variable ‘id’ [-Wunused-variable]
  264 |  u8 id[2];
      |     ^~
At top level:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:414:12: warning: ‘tas2101_i2c_gate_ctrl’ defined but not used [-Wunused-function]
  414 | static int tas2101_i2c_gate_ctrl(struct dvb_frontend* fe, int enable)
      |            ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:78:12: warning: ‘tas2101_wrtable’ defined but not used [-Wunused-function]
   78 | static int tas2101_wrtable(struct tas2971_priv *priv,
      |            ^~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:71:12: warning: ‘tas2101_regmask’ defined but not used [-Wunused-function]
   71 | static int tas2101_regmask(struct tas2971_priv *priv,
      |            ^~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:65:12: warning: ‘tas2101_rd’ defined but not used [-Wunused-function]
   65 | static int tas2101_rd(struct tas2971_priv *priv, u8 addr, u8 *data)
      |            ^~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:58:12: warning: ‘tas2101_rdm’ defined but not used [-Wunused-function]
   58 | static int tas2101_rdm(struct tas2971_priv *priv, u8 addr, u8 *buf, int len)
      |            ^~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:51:12: warning: ‘tas2101_wr’ defined but not used [-Wunused-function]
   51 | static int tas2101_wr(struct tas2971_priv *priv, u8 addr, u8 data)
      |            ^~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:44:12: warning: ‘tas2101_wrm’ defined but not used [-Wunused-function]
   44 | static int tas2101_wrm(struct tas2971_priv *priv, u8 *buf, int len)
      |            ^~~~~~~~~~~
In file included from /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971.c:32:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:293:30: warning: ‘tas2971_modfec_modes’ defined but not used [-Wunused-variable]
  293 | static struct tas2971_modfec tas2971_modfec_modes[] = {
      |                              ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:273:37: warning: ‘tas2971_dbmtable’ defined but not used [-Wunused-variable]
  273 | static struct tas2971_dbmtable_pair tas2971_dbmtable[] =  {
      |                                     ^~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:234:37: warning: ‘tas2971_snrtable’ defined but not used [-Wunused-variable]
  234 | static struct tas2971_snrtable_pair tas2971_snrtable[] =  {
      |                                     ^~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:220:32: warning: ‘tas2971_setfe’ defined but not used [-Wunused-variable]
  220 | static struct tas2971_regtable tas2971_setfe[] = {
      |                                ^~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:191:32: warning: ‘tas2100_initfe1’ defined but not used [-Wunused-variable]
  191 | static struct tas2971_regtable tas2100_initfe1[] = {
      |                                ^~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:186:32: warning: ‘tas2971_initfe2’ defined but not used [-Wunused-variable]
  186 | static struct tas2971_regtable tas2971_initfe2[] = {
      |                                ^~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:151:32: warning: ‘tas2971_initfe1’ defined but not used [-Wunused-variable]
  151 | static struct tas2971_regtable tas2971_initfe1[] = {
      |                                ^~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:137:32: warning: ‘tas2100_initfe0’ defined but not used [-Wunused-variable]
  137 | static struct tas2971_regtable tas2100_initfe0[] = {
      |                                ^~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/tas2971_priv.h:116:32: warning: ‘tas2971_initfe0’ defined but not used [-Wunused-variable]
  116 | static struct tas2971_regtable tas2971_initfe0[] = {
      |                                ^~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135-fe.c: In function ‘stid135_tune’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135-fe.c:720:14: warning: unused variable ‘state’ [-Wunused-variable]
  720 |  struct stv *state = fe->demodulator_priv;
      |              ^~~~~
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/gx1133.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/si2183.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/gx1503.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/av201x.o
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c: In function ‘fe_stid135_search’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:2385:6: warning: unused variable ‘fld_value’ [-Wunused-variable]
 2385 |  s32 fld_value;
      |      ^~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c: In function ‘FE_STiD135_TunerInit’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:5119:17: warning: unused variable ‘timeout’ [-Wunused-variable]
 5119 |  s32 vco_cal=0, timeout=0;
      |                 ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:5119:6: warning: unused variable ‘vco_cal’ [-Wunused-variable]
 5119 |  s32 vco_cal=0, timeout=0;
      |      ^~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c: In function ‘fe_stid135_diseqc_init’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:5392:2: warning: enumeration value ‘AFE_TUNER1’ not handled in switch [-Wswitch]
 5392 |  switch(tuner_nb) {
      |  ^~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:5392:2: warning: enumeration value ‘AFE_TUNER_ALL’ not handled in switch [-Wswitch]
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c: In function ‘get_soc_block_freq’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:8315:6: warning: unused variable ‘reg_val’ [-Wunused-variable]
 8315 |  u32 reg_val;
      |      ^~~~~~~
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.o
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/gx1133.c: In function ‘gx1133_i2c_select’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/gx1133.c:750:5: warning: unused variable ‘temp’ [-Wunused-variable]
  750 |  u8 temp;
      |     ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/gx1133.c: In function ‘gx1133_set_frontend’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/gx1133.c:1178:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1178 |  if (ret)
      |  ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/gx1133.c:1181:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1181 |   if (fe->ops.tuner_ops.set_params) {
      |   ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c: In function ‘fe_stid135_uninit_after_bb_flt_calib’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:10422:2: warning: enumeration value ‘AFE_TUNER_ALL’ not handled in switch [-Wswitch]
10422 |  switch(tuner_nb) {
      |  ^~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c: In function ‘DMD_scan_vq’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2793:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 2793 |  int i=0;
      |  ^~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2788:12: warning: unused variable ‘now’ [-Wunused-variable]
 2788 |  DMD_u32_t now;
      |            ^~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2787:12: warning: unused variable ‘st’ [-Wunused-variable]
 2787 |  DMD_u32_t st;
      |            ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c: In function ‘MNDMD_init’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2941:22: warning: unused variable ‘state’ [-Wunused-variable]
 2941 |  struct mndmd_state *state = fe->demodulator_priv;
      |                      ^~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c: In function ‘DMD_set_parameters’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2954:22: warning: unused variable ‘state’ [-Wunused-variable]
 2954 |  struct mndmd_state* state = fe->demodulator_priv;
      |                      ^~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2953:6: warning: unused variable ‘ret’ [-Wunused-variable]
 2953 |  int ret;
      |      ^~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c: In function ‘DMD_get_parameters’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2985:22: warning: unused variable ‘state’ [-Wunused-variable]
 2985 |  struct mndmd_state* state = fe->demodulator_priv;
      |                      ^~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c: In function ‘DMD_read_status’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:2992:22: warning: unused variable ‘state’ [-Wunused-variable]
 2992 |  struct mndmd_state* state = fe->demodulator_priv;
      |                      ^~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c: In function ‘DMD_tune’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:3063:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 3063 |  struct mndmd_state* state = fe->demodulator_priv;
      |  ^~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:3063:22: warning: unused variable ‘state’ [-Wunused-variable]
 3063 |  struct mndmd_state* state = fe->demodulator_priv;
      |                      ^~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c: In function ‘DMD_read_ber’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:3129:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 3129 |  DMD_u32_t berr = 0 ,bit = 1;
      |  ^~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mn88436.c:3125:22: warning: unused variable ‘state’ [-Wunused-variable]
 3125 |  struct mndmd_state* state = fe->demodulator_priv;
      |                      ^~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c: In function ‘get_current_llr’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:11601:17: warning: unused variable ‘error’ [-Wunused-variable]
11601 |  fe_lla_error_t error=FE_LLA_NO_ERROR;
      |                 ^~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c: In function ‘mtv23x_init’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c:754:28: warning: unused variable ‘bandwidth’ [-Wunused-variable]
  754 |  enum E_RTV_BANDWIDTH_TYPE bandwidth = RTV_BW_MODE_6MHZ;
      |                            ^~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c: In function ‘rtvRF_LockCheck’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c:897:4: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  897 |    else
      |    ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c:900:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  900 |     msleep(1);
      |     ^~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c:915:4: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  915 |    else
      |    ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c:917:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  917 |     msleep(1);
      |     ^~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c: At top level:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/mtv23x.c:1191:8: warning: return type defaults to ‘int’ [-Wreturn-type]
 1191 | static rtvRF_ConfigureIIRFilter(struct mtv23x_dev*dev,enum E_RTV_BANDWIDTH_TYPE eBwType)
      |        ^~~~~~~~~~~~~~~~~~~~~~~~
At top level:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:5016:23: warning: ‘fe_stid135_manage_matype_info_raw_bbframe’ defined but not used [-Wunused-function]
 5016 | static fe_lla_error_t fe_stid135_manage_matype_info_raw_bbframe(fe_stid135_handle_t handle,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/dvb-frontends/stid135/stid135_drv.c:2280:23: warning: ‘fe_stid135_set_reg_values_wb’ defined but not used [-Wunused-function]
 2280 | static fe_lla_error_t fe_stid135_set_reg_values_wb(fe_stid135_handle_t handle, enum fe_stid135_demod demod)
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/av201x.c: In function ‘av201x_get_rf_strength’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/av201x.c:232:22: warning: unused variable ‘priv’ [-Wunused-variable]
  232 |  struct av201x_priv *priv = fe->tuner_priv;
      |                      ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c: In function ‘mxl603_ctrl_programRegisters’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c:58:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   58 |    ret = reg_read(dev->client,ctrlRegInfoPtr[i].regAddr, (int)&tmp);
      |                                                          ^
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c:58:58: warning: passing argument 3 of ‘reg_read’ makes pointer from integer without a cast [-Wint-conversion]
   58 |    ret = reg_read(dev->client,ctrlRegInfoPtr[i].regAddr, (int)&tmp);
      |                                                          ^~~~~~~~~
      |                                                          |
      |                                                          int
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c:7:63: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘int’
    7 | static int reg_read(struct i2c_client *client,u8 reg_addr,u8 *val)
      |                                                           ~~~~^~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c: In function ‘mxl603_init’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c:82:5: warning: unused variable ‘dfeRegData’ [-Wunused-variable]
   82 |  u8 dfeRegData;
      |     ^~~~~~~~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c: In function ‘mxl603_set_params’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/mxl603.c:228:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  228 |  MXL603_REG_CTRL_INFO_T MxL603_DigitalDvbc[] =
      |  ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/rda5816.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/stv6120.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tas2101.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mxl58x.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stv091x.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tas2971.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/gx1133.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/gx1503.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/av201x.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/si2183.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mn88436.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mxl603.o
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/rda5816.c: In function ‘rda5816_init’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/rda5816.c:72:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   72 |  u8 buffer;
      |  ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/rda5816.c: In function ‘rda5816_set_params’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/rda5816.c:294:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  294 |  u8 buffer;
      |  ^~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/rda5816.c: In function ‘rda5816_get_rf_strength’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/rda5816.c:415:23: warning: unused variable ‘priv’ [-Wunused-variable]
  415 |  struct rda5816_priv *priv = fe->tuner_priv;
      |                       ^~~~
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/stv6120.c: In function ‘set_lof’:
/var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tuners/stv6120.c:367:10: warning: unused variable ‘tmp’ [-Wunused-variable]
  367 |  u8 Icp, tmp;
      |          ^~~
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mtv23x.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stv6120.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/rda5816.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stid135.o
  MODPOST /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/Module.symvers
WARNING: modpost: modpost: Found 188 writable function pointers.
To see full details build your kernel with:
'make CONFIG_DEBUG_WRITABLE_FUNCTION_POINTERS_VERBOSE=y'
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/av201x.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/gx1503.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/gx1133.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mn88436.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mtv23x.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mxl58x.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mxl603.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/rda5816.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/si2183.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stid135.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stv6120.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stv091x.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tas2101.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tas2971.mod.o
  CC [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3.mod.o
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/av201x.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/gx1133.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/gx1503.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mn88436.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mtv23x.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mxl58x.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/mxl603.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/rda5816.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/si2183.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stv6120.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stid135.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tas2971.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/stv091x.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tas2101.ko
  LD [M]  /var/lib/dkms/tbsecp3-driver-git/r20200925.193351.d0cb9ce/build/tbsecp3.ko
make: Leaving directory '/usr/lib/modules/5.8.11.a-1-hardened/build'

Offline

#3 2020-09-25 19:29:07

ck2katArchL
Member
Registered: 2020-03-23
Posts: 4

Re: [SOLVED]tbsecp3-driver-git-dkms r20200325.042649.39b474f-2 won't build

@loqs. Saw from your make.log that your package version was later that mine, so I check the AUR page to find that @AlexanderS has just updated it. I've rebuilt and tested the new driver against kernel version: 5.8.11.a-1-hardened and we seem to be back in business now! Thank you for your attention to this. I''ll mark the OP as [solved].

Offline

Board footer

Powered by FluxBB