SHARE
TWEET

tbs driver waring

mustang01 Aug 19th, 2019 164 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /home/mustang01/tbs/media_build/v4l/av201x.c: In function 'av201x_get_rf_strength':
  2. /home/mustang01/tbs/media_build/v4l/av201x.c:232:22: warning: unused variable 'priv' [-Wunused-variable]
  3.   struct av201x_priv *priv = fe->tuner_priv;
  4.                       ^~~~
  5. /home/mustang01/tbs/media_build/v4l/stv6120.c: In function 'set_lof':
  6. /home/mustang01/tbs/media_build/v4l/stv6120.c:367:10: warning: unused variable  tmp' [-Wunused-variable]
  7.   u8 Icp, tmp;
  8.           ^~~
  9. /home/mustang01/tbs/media_build/v4l/r848.c: In function 'R848_Filt_Cal_ADC':
  10. /home/mustang01/tbs/media_build/v4l/r848.c:1998:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  11.    if(u1FilterCode==16)
  12.    ^~
  13. /home/mustang01/tbs/media_build/v4l/r848.c:2001:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  14.     return u1FilterCodeResult;
  15.     ^~~~~~
  16. /home/mustang01/tbs/media_build/v4l/r848.c: In function 'R848_SysFreq_Sel':
  17. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M' not handled in switch [-Wswitch]
  18.      switch(R848_Standard) {
  19.      ^~~~~~
  20. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M' not handled in switch [-Wswitch]
  21. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M' not handled in switch [-Wswitch]
  22. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M' not handled in switch [-Wswitch]
  23. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M' not handled in switch [-Wswitch]
  24. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B' not handled in switch [-Wswitch]
  25. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T' not handled in switch [-Wswitch]
  26. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_4570' not handled in switch [-Wswitch]
  27. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_4570' not handled in switch [-Wswitch]
  28. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6000' not handled in switch [-Wswitch]
  29. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_5M' not handled in switch [-Wswitch]
  30. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_4500' not handled in switch [-Wswitch]
  31. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC' not handled in switch [-Wswitch]
  32. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_S' not handled in switch [-Wswitch]
  33. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M_IF_5M' not handled in switch [-Wswitch]
  34. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M_IF_5M' not handled in switch [-Wswitch]
  35. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M_IF_5M' not handled in switch [-Wswitch]
  36. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M_IF_5M' not handled in switch [-Wswitch]
  37. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M_IF_5M' not handled in switch [-Wswitch]
  38. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B_IF_5M' not handled in switch [-Wswitch]
  39. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_IF_5M' not handled in switch [-Wswitch]
  40. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_IF_5M' not handled in switch [-Wswitch]
  41. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC_IF_5M' not handled in switch [-Wswitch]
  42. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_FM' not handled in switch [-Wswitch]
  43. /home/mustang01/tbs/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_STD_SIZE' not handled in switch [-Wswitch]
  44. /home/mustang01/tbs/media_build/v4l/mxl603.c: In function 'mxl603_ctrl_programRegisters':
  45. /home/mustang01/tbs/media_build/v4l/mxl603.c:58:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  46.     ret = reg_read(dev->client,ctrlRegInfoPtr[i].regAddr, (int)&tmp);
  47.                                                           ^
  48. /home/mustang01/tbs/media_build/v4l/mxl603.c:58:58: warning: passing argument 3 of 'reg_read' makes pointer from integer without a cast [-Wint-conversion]
  49.     ret = reg_read(dev->client,ctrlRegInfoPtr[i].regAddr, (int)&tmp);
  50.                                                           ^~~~~~~~~
  51. /home/mustang01/tbs/media_build/v4l/mxl603.c:7:63: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'int'
  52.  static int reg_read(struct i2c_client *client,u8 reg_addr,u8 *val)
  53.                                                            ~~~~^~~
  54. /home/mustang01/tbs/media_build/v4l/mxl603.c: In function 'mxl603_init':
  55. /home/mustang01/tbs/media_build/v4l/mxl603.c:82:5: warning: unused variable 'dfeRegData' [-Wunused-variable]
  56.   u8 dfeRegData;
  57.      ^~~~~~~~~~
  58. /home/mustang01/tbs/media_build/v4l/mxl603.c: In function 'mxl603_set_params':
  59. /home/mustang01/tbs/media_build/v4l/mxl603.c:228:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  60.   MXL603_REG_CTRL_INFO_T MxL603_DigitalDvbc[] =
  61.   ^~~~~~~~~~~~~~~~~~~~~~
  62. /home/mustang01/tbs/media_build/v4l/tas2101.c: In function 'tas2101_attach':
  63. /home/mustang01/tbs/media_build/v4l/tas2101.c:643:1: warning: label 'err1' defined but not used [-Wunused-label]
  64.  err1:
  65.  ^~~~
  66. /home/mustang01/tbs/media_build/v4l/tas2971.c:78:9: warning: 'struct tas2101_regtable' declared inside parameter list will not be visible outside of this definition or declaration
  67.   struct tas2101_regtable *regtable, int len)
  68.          ^~~~~~~~~~~~~~~~
  69. /home/mustang01/tbs/media_build/v4l/tas2971.c: In function 'tas2971_attach':
  70. /home/mustang01/tbs/media_build/v4l/tas2971.c:356:1: warning: label 'err1' defined but not used [-Wunused-label]
  71.  err1:
  72.  ^~~~
  73. /home/mustang01/tbs/media_build/v4l/tas2971.c:346:1: warning: label 'err3' defined but not used [-Wunused-label]
  74.  err3:
  75.  ^~~~
  76. /home/mustang01/tbs/media_build/v4l/tas2971.c:261:5: warning: unused variable 'id' [-Wunused-variable]
  77.   u8 id[2];
  78.      ^~
  79. /home/mustang01/tbs/media_build/v4l/tas2971.c:260:6: warning: unused variable 'ret' [-Wunused-variable]
  80.   int ret;
  81.       ^~~
  82. At top level:
  83. /home/mustang01/tbs/media_build/v4l/tas2971.c:77:12: warning: 'tas2101_wrtable' defined but not used [-Wunused-function]
  84.  static int tas2101_wrtable(struct tas2971_priv *priv,
  85.             ^~~~~~~~~~~~~~~
  86. /home/mustang01/tbs/media_build/v4l/tas2971.c:70:12: warning: 'tas2101_regmask' defined but not used [-Wunused-function]
  87.  static int tas2101_regmask(struct tas2971_priv *priv,
  88.             ^~~~~~~~~~~~~~~
  89. /home/mustang01/tbs/media_build/v4l/tas2971.c:64:12: warning: 'tas2101_rd' defined but not used [-Wunused-function]
  90.  static int tas2101_rd(struct tas2971_priv *priv, u8 addr, u8 *data)
  91.             ^~~~~~~~~~
  92. /home/mustang01/tbs/media_build/v4l/tas2971.c:57:12: warning: 'tas2101_rdm' defined but not used [-Wunused-function]
  93.  static int tas2101_rdm(struct tas2971_priv *priv, u8 addr, u8 *buf, int len)
  94.             ^~~~~~~~~~~
  95. /home/mustang01/tbs/media_build/v4l/tas2971.c:50:12: warning: 'tas2101_wr' defined but not used [-Wunused-function]
  96.  static int tas2101_wr(struct tas2971_priv *priv, u8 addr, u8 data)
  97.             ^~~~~~~~~~
  98. /home/mustang01/tbs/media_build/v4l/tas2971.c:43:12: warning: 'tas2101_wrm' defined but not used [-Wunused-function]
  99.  static int tas2101_wrm(struct tas2971_priv *priv, u8 *buf, int len)
  100.             ^~~~~~~~~~~
  101. In file included from /home/mustang01/tbs/media_build/v4l/tas2971.c:31:
  102. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:293:30: warning: 'tas2971_modfec_modes' defined but not used [-Wunused-variable]
  103.  static struct tas2971_modfec tas2971_modfec_modes[] = {
  104.                               ^~~~~~~~~~~~~~~~~~~~
  105. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:273:37: warning: 'tas2971_dbmtable' defined but not used [-Wunused-variable]
  106.  static struct tas2971_dbmtable_pair tas2971_dbmtable[] =  {
  107.                                      ^~~~~~~~~~~~~~~~
  108. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:234:37: warning: 'tas2971_snrtable' defined but not used [-Wunused-variable]
  109.  static struct tas2971_snrtable_pair tas2971_snrtable[] =  {
  110.                                      ^~~~~~~~~~~~~~~~
  111. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:220:32: warning: 'tas2971_setfe' defined but not used [-Wunused-variable]
  112.  static struct tas2971_regtable tas2971_setfe[] = {
  113.                                 ^~~~~~~~~~~~~
  114. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:191:32: warning: 'tas2100_initfe1' defined but not used [-Wunused-variable]
  115.  static struct tas2971_regtable tas2100_initfe1[] = {
  116.                                 ^~~~~~~~~~~~~~~
  117. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:186:32: warning: 'tas2971_initfe2' defined but not used [-Wunused-variable]
  118.  static struct tas2971_regtable tas2971_initfe2[] = {
  119.                                 ^~~~~~~~~~~~~~~
  120. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:151:32: warning: 'tas2971_initfe1' defined but not used [-Wunused-variable]
  121.  static struct tas2971_regtable tas2971_initfe1[] = {
  122.                                 ^~~~~~~~~~~~~~~
  123. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:137:32: warning: 'tas2100_initfe0' defined but not used [-Wunused-variable]
  124.  static struct tas2971_regtable tas2100_initfe0[] = {
  125.                                 ^~~~~~~~~~~~~~~
  126. /home/mustang01/tbs/media_build/v4l/tas2971_priv.h:116:32: warning: 'tas2971_initfe0' defined but not used [-Wunused-variable]
  127.  static struct tas2971_regtable tas2971_initfe0[] = {
  128.                                 ^~~~~~~~~~~~~~~
  129. /home/mustang01/tbs/media_build/v4l/mxl58x.c: In function 'send_burst':
  130. /home/mustang01/tbs/media_build/v4l/mxl58x.c:385:6: warning: unused variable 'i' [-Wunused-variable]
  131.   int i = 0,ret = 0;
  132.       ^
  133. /home/mustang01/tbs/media_build/v4l/mxl58x.c: In function 'config_ts':
  134. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1220:18: warning: unused variable  mxl561_xpt_ts_valid' [-Wunused-variable]
  135.   MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = {
  136.                   ^~~~~~~~~~~~~~~~~~~
  137. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1216:18: warning: unused variable  mxl561_xpt_ts_sync' [-Wunused-variable]
  138.   MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = {
  139.                   ^~~~~~~~~~~~~~~~~~
  140. /home/mustang01/tbs/media_build/v4l/mxl58x.c: In function 'load_fw':
  141. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1397:46: warning: passing argument 3 of 'firmware_download' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  142.   stat = firmware_download(state, fw->size, fw->data);
  143.                                             ~~^~~~~~
  144. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1005:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'const u8 * const' {aka 'const unsigned char * const'}
  145.          u8 *mbinBufferPtr)
  146.          ~~~~^~~~~~~~~~~~~
  147. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1385:6: warning: unused variable 'buf' [-Wunused-variable]
  148.   u8 *buf;
  149.       ^~~
  150. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1383:21: warning: unused variable  cfg' [-Wunused-variable]
  151.   struct mxl58x_cfg *cfg = state->base->cfg;
  152.                      ^~~
  153. /home/mustang01/tbs/media_build/v4l/mxl58x.c: In function 'probe':
  154. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1457:28: warning: unused variable  mpegInterfaceCfg' [-Wunused-variable]
  155.   MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg;
  156.                             ^~~~~~~~~~~~~~~~
  157. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1456:18: warning: unused variable  j' [-Wunused-variable]
  158.   int fw, status, j;
  159.                   ^
  160. At top level:
  161. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1345:12: warning: 'config_mux' defined but not used [-Wunused-function]
  162.  static int config_mux(struct mxl *state)
  163.             ^~~~~~~~~~
  164. /home/mustang01/tbs/media_build/v4l/mxl58x.c:1157:12: warning: 'config_ts' defined but not used [-Wunused-function]
  165.  static int config_ts(struct mxl *state, MXL_HYDRA_DEMOD_ID_E demodId, MXL_HYDRA_MPEGOUT_PARAM_T *mpegOutParamPtr)
  166.             ^~~~~~~~~
  167. /home/mustang01/tbs/media_build/v4l/mxl58x.c:335:12: warning: 'CfgDemodAbortTun ' defined but not used [-Wunused-function]
  168.  static int CfgDemodAbortTune(struct mxl *state)
  169.             ^~~~~~~~~~~~~~~~~
  170. /home/mustang01/tbs/media_build/v4l/mxl58x.c:288:13: warning: 'extract_from_mnemonic' defined but not used [-Wunused-function]
  171.  static void extract_from_mnemonic(u32 regAddr, u8 lsbPos, u8 width,
  172.              ^~~~~~~~~~~~~~~~~~~~~
  173. /home/mustang01/tbs/media_build/v4l/mxl58x.c:164:12: warning: 'write_register_block' defined but not used [-Wunused-function]
  174.  static int write_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
  175.             ^~~~~~~~~~~~~~~~~~~~
  176. /home/mustang01/tbs/media_build/v4l/si2183.c: In function 'si2183_probe':
  177. /home/mustang01/tbs/media_build/v4l/si2183.c:1466:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
  178.   int ret;
  179.       ^~~
  180. /home/mustang01/tbs/media_build/v4l/mn88436.c: In function 'mn88436_read_status':
  181. /home/mustang01/tbs/media_build/v4l/mn88436.c:1161:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  182.   else
  183.   ^~~~
  184. /home/mustang01/tbs/media_build/v4l/mn88436.c:1164:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  185.    msleep(1);
  186.    ^~~~~~
  187. /home/mustang01/tbs/media_build/v4l/mn88436.c: In function 'mn88436_read_snr':
  188. /home/mustang01/tbs/media_build/v4l/mn88436.c:1295:10: warning: unused variable 'cnd' [-Wunused-variable]
  189.   u32 cni,cnd;
  190.           ^~~
  191. /home/mustang01/tbs/media_build/v4l/mn88436.c:1295:6: warning: unused variable  cni' [-Wunused-variable]
  192.   u32 cni,cnd;
  193.       ^~~
  194. /home/mustang01/tbs/media_build/v4l/mn88436.c: In function 'DMD_send_registers':
  195. /home/mustang01/tbs/media_build/v4l/mn88436.c:1115:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
  196.   return ret;
  197.          ^~~
  198. /home/mustang01/tbs/media_build/v4l/mtv23x.c: In function 'mtv23x_init':
  199. /home/mustang01/tbs/media_build/v4l/mtv23x.c:754:28: warning: unused variable 'bandwidth' [-Wunused-variable]
  200.   enum E_RTV_BANDWIDTH_TYPE bandwidth = RTV_BW_MODE_6MHZ;
  201.                             ^~~~~~~~~
  202. /home/mustang01/tbs/media_build/v4l/mtv23x.c: In function 'rtvRF_LockCheck':
  203. /home/mustang01/tbs/media_build/v4l/mtv23x.c:897:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  204.     else
  205.     ^~~~
  206. /home/mustang01/tbs/media_build/v4l/mtv23x.c:900:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  207.      msleep(1);
  208.      ^~~~~~
  209. /home/mustang01/tbs/media_build/v4l/mtv23x.c:915:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  210.     else
  211.     ^~~~
  212. /home/mustang01/tbs/media_build/v4l/mtv23x.c:917:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  213.      msleep(1);
  214.      ^~~~~~
  215. /home/mustang01/tbs/media_build/v4l/mtv23x.c: At top level:
  216. /home/mustang01/tbs/media_build/v4l/mtv23x.c:1191:8: warning: return type defaults to 'int' [-Wreturn-type]
  217.  static rtvRF_ConfigureIIRFilter(struct mtv23x_dev*dev,enum E_RTV_BANDWIDTH_TYPE eBwType)
  218.         ^~~~~~~~~~~~~~~~~~~~~~~~
  219. /home/mustang01/tbs/media_build/v4l/tbs_priv.c: In function 'tbs_read_status':
  220. /home/mustang01/tbs/media_build/v4l/tbs_priv.c:29:17: warning: unused variable  state' [-Wunused-variable]
  221.   struct tbs_dev*state =fe->demodulator_priv;
  222.                  ^~~~~
  223. /home/mustang01/tbs/media_build/v4l/tbs_priv.c: In function 'tbs_read_snr':
  224. /home/mustang01/tbs/media_build/v4l/tbs_priv.c:43:17: warning: unused variable  state' [-Wunused-variable]
  225.   struct tbs_dev*state = fe->demodulator_priv;
  226.                  ^~~~~
  227. /home/mustang01/tbs/media_build/v4l/tbs_priv.c: In function 'tbs_read_signal_strength':
  228. /home/mustang01/tbs/media_build/v4l/tbs_priv.c:56:17: warning: unused variable  state' [-Wunused-variable]
  229.   struct tbs_dev*state = fe->demodulator_priv;
  230.                  ^~~~~
  231. /home/mustang01/tbs/media_build/v4l/tbs_priv.c: In function 'tbs_tune':
  232. /home/mustang01/tbs/media_build/v4l/tbs_priv.c:123:17: warning: unused variable 'state' [-Wunused-variable]
  233.   struct tbs_dev*state = fe->demodulator_priv;
  234.                  ^~~~~
  235. /home/mustang01/tbs/media_build/v4l/stid135_drv.c: In function 'FE_STiD135_TunerInit':
  236. /home/mustang01/tbs/media_build/v4l/stid135_drv.c:4949:17: warning: unused variable 'timeout' [-Wunused-variable]
  237.   s32 vco_cal=0, timeout=0;
  238.                  ^~~~~~~
  239. /home/mustang01/tbs/media_build/v4l/stid135_drv.c:4949:6: warning: unused variable 'vco_cal' [-Wunused-variable]
  240.   s32 vco_cal=0, timeout=0;
  241.       ^~~~~~~
  242. /home/mustang01/tbs/media_build/v4l/stid135_drv.c: In function 'fe_stid135_diseqc_init':
  243. /home/mustang01/tbs/media_build/v4l/stid135_drv.c:5222:2: warning: enumeration value 'AFE_TUNER1' not handled in switch [-Wswitch]
  244.   switch(tuner_nb) {
  245.   ^~~~~~
  246. /home/mustang01/tbs/media_build/v4l/stid135_drv.c:5222:2: warning: enumeration value 'AFE_TUNER_ALL' not handled in switch [-Wswitch]
  247. /home/mustang01/tbs/media_build/v4l/stid135_drv.c: In function 'get_soc_block_freq':
  248. /home/mustang01/tbs/media_build/v4l/stid135_drv.c:8145:6: warning: unused variable 'reg_val' [-Wunused-variable]
  249.   u32 reg_val;
  250.       ^~~~~~~
  251. /home/mustang01/tbs/media_build/v4l/stid135_drv.c: In function 'fe_stid135_uninit_after_bb_flt_calib':
  252. /home/mustang01/tbs/media_build/v4l/stid135_drv.c:10252:2: warning: enumeration value 'AFE_TUNER_ALL' not handled in switch [-Wswitch]
  253.   switch(tuner_nb) {
  254.   ^~~~~~
  255. At top level:
  256. /home/mustang01/tbs/media_build/v4l/stid135_drv.c:4846:23: warning: 'fe_stid135_manage_matype_info_raw_bbframe' defined but not used [-Wunused-function]
  257.  static fe_lla_error_t fe_stid135_manage_matype_info_raw_bbframe(fe_stid135_handle_t handle,
  258.                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  259. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c: In function 'tbs6304_read_ma ':
  260. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:121:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  261.    if((tmpbuf[0]&0x4) == 1) // bit2==1 mcu busy
  262.                       ^~
  263. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c: In function 'tbs6308_read_mac_ext':
  264. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:227:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  265.    if((tmpbuf[0]&0x4) == 1) // bit2==1 mcu busy
  266.                       ^~
  267. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:197:22: warning: unused variable 'dev' [-Wunused-variable]
  268.   struct tbsecp3_dev *dev = adap->dev;
  269.                       ^~~
  270. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c: In function 'tbs6301_read_ma ':
  271. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:290:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  272.    if((tmpbuf[0]&0x4) == 1) // bit2==1 mcu busy
  273.                       ^~
  274. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c: In function 'tbsecp3_frontend_attach':
  275. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:910:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  276.    if (adapter->fe == NULL)
  277.    ^~
  278. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:912:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  279.        if(adapter->nr <4)
  280.        ^~
  281. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:946:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  282.    int regdata;
  283.    ^~~
  284. At top level:
  285. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:661:12: warning: 'max_send_burst' defined but not used [-Wunused-function]
  286.  static int max_send_burst(struct dvb_frontend *fe, enum fe_sec_mini_cmd burst)
  287.             ^~~~~~~~~~~~~~
  288. /home/mustang01/tbs/media_build/v4l/tbsecp3-dvb.c:656:12: warning: 'max_send_master_cmd' defined but not used [-Wunused-function]
  289.  static int max_send_master_cmd(struct dvb_frontend *fe, struct dvb_diseqc_master_cmd *cmd)
  290.             ^~~~~~~~~~~~~~~~~~~
  291. /home/mustang01/tbs/media_build/v4l/tbsecp3-asi.c: In function 'asi_write16bit':
  292. /home/mustang01/tbs/media_build/v4l/tbsecp3-asi.c:80:6: warning: unused variable 'regData' [-Wunused-variable]
  293.   int regData;
  294.       ^~~~~~~
  295. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c: In function 'tbs_i2c_xfer':
  296. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:510:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  297.   if (TBS_PCIE_READ(i2c->base, TBS_I2C_CTRL) == 1);
  298.   ^~
  299. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:511:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  300.    i2c->ready = 0;
  301.    ^~~
  302. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:533:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  303.   if (TBS_PCIE_READ(i2c->base, TBS_I2C_CTRL) == 1);
  304.   ^~
  305. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:534:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  306.    i2c->ready = 0;
  307.    ^~~
  308. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:557:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  309.   if (TBS_PCIE_READ(i2c->base, TBS_I2C_CTRL) == 1);
  310.   ^~
  311. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:558:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  312.    i2c->ready = 0;
  313.    ^~~
  314. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c: In function 'video_data_process':
  315. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:662:6: warning: unused variable  ret' [-Wunused-variable]
  316.   int ret  =  TBS_PCIE_READ(TBS_DMA_BASE(videodev->index), 0);
  317.       ^~~
  318. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c: In function 'tbs_sdi_video_para ':
  319. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:1001:6: warning: unused variable 'itoi' [-Wunused-variable]
  320.   int itoi = 0;
  321.       ^~~~
  322. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:1000:6: warning: unused variable 'ptoi' [-Wunused-variable]
  323.   int ptoi = 0;
  324.       ^~~~
  325. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c: In function 'tbs_hdmi_video_param':
  326. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:1056:6: warning: unused variable 'itoi' [-Wunused-variable]
  327.   int itoi = 0;
  328.       ^~~~
  329. /home/mustang01/tbs/media_build/v4l/tbs_pcie-sdi.c: In function 'sdi_write16bit':
  330. /home/mustang01/tbs/media_build/v4l/tbs_pcie-sdi.c:80:6: warning: unused variable 'regData' [-Wunused-variable]
  331.   int regData;
  332.       ^~~~~~~
  333. /home/mustang01/tbs/media_build/v4l/tbsmod.c: In function 'start_dma_transfer':
  334. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1061:6: warning: unused variable 'bitrate' [-Wunused-variable]
  335.   u32 bitrate;
  336.       ^~~~~~~
  337. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1060:6: warning: unused variable 'delay' [-Wunused-variable]
  338.   u32 delay;
  339.       ^~~~~
  340. /home/mustang01/tbs/media_build/v4l/tbsmod.c: In function 'tbsmod_open':
  341. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1091:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  342.   u8 buff[4] = {0,0,0,0};
  343.   ^~
  344. /home/mustang01/tbs/media_build/v4l/tbsmod.c: In function 'tbsmod_write':
  345. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1159:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  346.     printk("%s size:%d  %d\n", __func__, size, copied);
  347.                     ~^                   ~~~~
  348.                     %ld
  349. /home/mustang01/tbs/media_build/v4l/tbsmod.c: In function 'spi_write':
  350. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1170:16: warning: unused variable  tmpbuf' [-Wunused-variable]
  351.   unsigned char tmpbuf[4];
  352.                 ^~~~~~
  353. /home/mustang01/tbs/media_build/v4l/tbsmod.c: In function 'tbsmod_ioctl':
  354. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1328:16: warning: passing argument 1 of 'copy_to_user' makes pointer from integer without a cast [-Wint-conversion]
  355.    copy_to_user((unsigned long)arg, &finfo, sizeof(struct dvb_frontend_info));
  356.                 ^~~~~~~~~~~~~~~~~~
  357. In file included from ./include/net/checksum.h:25,
  358.                  from ./include/linux/skbuff.h:31,
  359.                  from ./include/linux/if_ether.h:23,
  360.                  from /home/mustang01/tbs/media_build/v4l/compat.h:1732,
  361.                  from <command-line>:
  362. ./include/linux/uaccess.h:152:27: note: expected 'void *' but argument is of type 'long unsigned int'
  363.  copy_to_user(void __user *to, const void *from, unsigned long n)
  364.               ~~~~~~~~~~~~~^~
  365. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1354:16: warning: passing argument 1 of 'copy_to_user' makes pointer from integer without a cast [-Wint-conversion]
  366.    copy_to_user((unsigned long)arg, &wrinfo, sizeof(struct mcu24cxx_info ));
  367.                 ^~~~~~~~~~~~~~~~~~
  368. In file included from ./include/net/checksum.h:25,
  369.                  from ./include/linux/skbuff.h:31,
  370.                  from ./include/linux/if_ether.h:23,
  371.                  from /home/mustang01/tbs/media_build/v4l/compat.h:1732,
  372.                  from <command-line>:
  373. ./include/linux/uaccess.h:152:27: note: expected 'void *' but argument is of type 'long unsigned int'
  374.  copy_to_user(void __user *to, const void *from, unsigned long n)
  375.               ~~~~~~~~~~~~~^~
  376. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1193:3: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
  377.    copy_from_user(&props , (const char*)arg, sizeof(struct dtv_properties ));
  378.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  379. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1197:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
  380.     copy_from_user(&prop , (const char*)props.props, sizeof(struct dtv_property ));
  381.     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  382. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1300:3: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
  383.    copy_from_user(&props , (const char*)arg, sizeof(struct dtv_properties ));
  384.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  385. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1304:4: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
  386.     copy_from_user(&prop , (const char*)props.props, sizeof(struct dtv_property ));
  387.     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  388. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1328:3: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result]
  389.    copy_to_user((unsigned long)arg, &finfo, sizeof(struct dvb_frontend_info));
  390.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  391. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1337:3: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
  392.    copy_from_user(&params , (const char*)arg, sizeof(struct dvb_modulator_parameters ));
  393.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  394. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1352:3: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
  395.    copy_from_user(&wrinfo , (const char*)arg, sizeof(struct mcu24cxx_info ));
  396.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  397. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1354:3: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result [-Wunused-result]
  398.    copy_to_user((unsigned long)arg, &wrinfo, sizeof(struct mcu24cxx_info ));
  399.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  400. /home/mustang01/tbs/media_build/v4l/tbsmod.c:1357:3: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
  401.    copy_from_user(&wrinfo , (const char*)arg, sizeof(struct mcu24cxx_info ));
  402.    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  403. At top level:
  404. /home/mustang01/tbs/media_build/v4l/tbsmod.c:209:13: warning: 'GS2972_wt_nBytes' defined but not used [-Wunused-function]
  405.  static BOOL GS2972_wt_nBytes(struct tbs_pcie_dev *dev, int length, int Reg_Addr, unsigned char *Wr_buf)
  406.              ^~~~~~~~~~~~~~~~
  407. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c: In function 'tbs_probe':
  408. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:1242:3: warning: 'tbs_adap' may be used uninitialized in this function [-Wmaybe-uninitialized]
  409.    tbs6312_mac(tbs_adap);
  410.    ^~~~~~~~~~~~~~~~~~~~~
  411. /home/mustang01/tbs/media_build/v4l/tbs_pcie.c:1169:22: note: 'tbs_adap' was declared here
  412.   struct tbs_adapter *tbs_adap;
  413.                       ^~~~~~~~
  414. /home/mustang01/tbs/media_build/v4l/tbs5301.c: In function 'reg_i2cread':
  415. /home/mustang01/tbs/media_build/v4l/tbs5301.c:186:10: warning: 'return' with a value, in function returning void
  416.    return -ENODEV;
  417.           ^
  418. /home/mustang01/tbs/media_build/v4l/tbs5301.c:180:13: note: declared here
  419.  static void reg_i2cread(struct i2c_adapter *i2c,u8 chip_addr,u8 reg, u8 num, u8 *buf)
  420.              ^~~~~~~~~~~
  421. /home/mustang01/tbs/media_build/v4l/tbs5301.c:188:10: warning: 'return' with a value, in function returning void
  422.    return -EAGAIN;
  423.           ^
  424. /home/mustang01/tbs/media_build/v4l/tbs5301.c:180:13: note: declared here
  425.  static void reg_i2cread(struct i2c_adapter *i2c,u8 chip_addr,u8 reg, u8 num, u8 *buf)
  426.              ^~~~~~~~~~~
  427. /home/mustang01/tbs/media_build/v4l/tbs5301.c: In function 'reg_i2cwrite':
  428. /home/mustang01/tbs/media_build/v4l/tbs5301.c:213:10: warning: 'return' with a value, in function returning void
  429.    return -ENODEV;
  430.           ^
  431. /home/mustang01/tbs/media_build/v4l/tbs5301.c:206:13: note: declared here
  432.  static void reg_i2cwrite(struct i2c_adapter *i2c,u8 chip_addr,u8 reg, u8 num, u8 *buf)
  433.              ^~~~~~~~~~~~
  434. /home/mustang01/tbs/media_build/v4l/tbs5301.c:215:10: warning: 'return' with a value, in function returning void
  435.    return -EAGAIN;
  436.           ^
  437. /home/mustang01/tbs/media_build/v4l/tbs5301.c:206:13: note: declared here
  438.  static void reg_i2cwrite(struct i2c_adapter *i2c,u8 chip_addr,u8 reg, u8 num, u8 *buf)
  439.              ^~~~~~~~~~~~
  440. WARNING: "frame_vector_to_pfns" [/home/mustang01/tbs/media_build/v4l/videobuf2-vmalloc.ko] undefined!
  441. WARNING: "frame_vector_to_pages" [/home/mustang01/tbs/media_build/v4l/videobuf2-vmalloc.ko] undefined!
  442. WARNING: "frame_vector_destroy" [/home/mustang01/tbs/media_build/v4l/videobuf2-memops.ko] undefined!
  443. WARNING: "put_vaddr_frames" [/home/mustang01/tbs/media_build/v4l/videobuf2-memops.ko] undefined!
  444. WARNING: "get_vaddr_frames" [/home/mustang01/tbs/media_build/v4l/videobuf2-memops.ko] undefined!
  445. WARNING: "frame_vector_create" [/home/mustang01/tbs/media_build/v4l/videobuf2-memops.ko] undefined!
  446. WARNING: "frame_vector_to_pages" [/home/mustang01/tbs/media_build/v4l/videobuf2-dma-sg.ko] undefined!
  447. WARNING: "frame_vector_to_pfns" [/home/mustang01/tbs/media_build/v4l/videobuf2-dma-contig.ko] undefined!
  448. WARNING: "frame_vector_to_pages" [/home/mustang01/tbs/media_build/v4l/videobuf2-dma-contig.ko] undefined!
  449. WARNING: "i2c_mux_add_adapter" [/home/mustang01/tbs/media_build/v4l/si2183.ko] undefined!
  450. WARNING: "i2c_mux_alloc" [/home/mustang01/tbs/media_build/v4l/si2183.ko] undefined!
  451. WARNING: "i2c_mux_del_adapters" [/home/mustang01/tbs/media_build/v4l/si2183.ko] undefined!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top