driverdev-devel.linuxdriverproject.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Malcolm Priestley <tvboxspy@gmail.com>
Cc: devel@driverdev.osuosl.org, clang-built-linux@googlegroups.com,
	kbuild-all@lists.01.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [staging:staging-testing 319/378] drivers/staging/vt6656/rxtx.c:42:18: warning: unused variable 'vnt_frame_time'
Date: Sun, 24 May 2020 19:04:41 +0800	[thread overview]
Message-ID: <202005241918.IseLzHqZ%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]

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@intel.com>

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@gmail.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 73555 bytes --]

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

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

             reply	other threads:[~2020-05-24 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-24 11:04 kbuild test robot [this message]
2020-05-27  9:28 ` [PATCH] staging: vt6656: Fix warning: unused variable vnt_frame_time Malcolm Priestley
2020-05-27  9:35 ` [PATCH v2] " Malcolm Priestley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005241918.IseLzHqZ%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=tvboxspy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).