[staging:staging-testing 319/378] drivers/staging/vt6656/rxtx.c:42:18: warning: unused variable 'vnt_frame_time'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   a3975dea1696b7c81319dc4b66e3c378dd47ccfb
commit: 61bb798767e4a55165ab0cdaf72dd7459ebab0cc [319/378] staging: vt6656: vnt_get_rtscts_rsvtime_le replace with rts/cts duration.
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 61bb798767e4a55165ab0cdaf72dd7459ebab0cc
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/staging/vt6656/rxtx.c:42:18: warning: unused variable 'vnt_frame_time' [-Wunused-const-variable]
static const u16 vnt_frame_time[MAX_RATE] = {
^
1 warning generated.

vim +/vnt_frame_time +42 drivers/staging/vt6656/rxtx.c

92b96797118e58 Forest Bond       2009-06-13  41  
3436accadc3f17 Malcolm Priestley 2020-04-19 @42  static const u16 vnt_frame_time[MAX_RATE] = {
3436accadc3f17 Malcolm Priestley 2020-04-19  43  	10, 20, 55, 110, 24, 36, 48, 72, 96, 144, 192, 216
3436accadc3f17 Malcolm Priestley 2020-04-19  44  };
3436accadc3f17 Malcolm Priestley 2020-04-19  45  

:::::: The code at line 42 was first introduced by commit
:::::: 3436accadc3f179a108071df552a6b82542523b1 staging: vt6656: Move vnt_get_frame_time and vnt_get_phy_field to rxtx

:::::: TO: Malcolm Priestley <tvboxspy@xxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux