All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Luca Coelho <luciano.coelho@intel.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [linux-stable-rc:linux-5.4.y 4185/4210] drivers/net/wireless/intel/iwlwifi/fw/dbg.c:2484:6: warning: variable 'ret' set but not used
Date: Mon, 19 Jul 2021 06:25:26 +0800	[thread overview]
Message-ID: <202107190617.guy4yF8k-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
head:   6f04e8ca5355b84edfdd022f0bb4dc18200341ef
commit: be8a3aecd21ae4769766ca6f1a88a1fbfbe2d148 [4185/4210] iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails
config: x86_64-randconfig-a015-20210718 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=be8a3aecd21ae4769766ca6f1a88a1fbfbe2d148
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.4.y
        git checkout be8a3aecd21ae4769766ca6f1a88a1fbfbe2d148
        # 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: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/intel/iwlwifi/fw/dbg.c:2484:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
           int ret = 0;
               ^
   1 warning generated.


vim +/ret +2484 drivers/net/wireless/intel/iwlwifi/fw/dbg.c

b721f5b1be18ae Shahar S Matityahu 2019-05-21  2479  
be8a3aecd21ae4 Luca Coelho        2020-03-06  2480  void iwl_fw_dbg_stop_restart_recording(struct iwl_fw_runtime *fwrt,
576058330f2d24 Shahar S Matityahu 2019-05-19  2481  				       struct iwl_fw_dbg_params *params,
576058330f2d24 Shahar S Matityahu 2019-05-19  2482  				       bool stop)
b721f5b1be18ae Shahar S Matityahu 2019-05-21  2483  {
576058330f2d24 Shahar S Matityahu 2019-05-19 @2484  	int ret = 0;

:::::: The code at line 2484 was first introduced by commit
:::::: 576058330f2d2403c93a66f48dfa98d90c6f7922 iwlwifi: dbg: support debug recording suspend resume command

:::::: TO: Shahar S Matityahu <shahar.s.matityahu@intel.com>
:::::: CC: Luca Coelho <luciano.coelho@intel.com>

---
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: 39548 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-stable-rc:linux-5.4.y 4185/4210] drivers/net/wireless/intel/iwlwifi/fw/dbg.c:2484:6: warning: variable 'ret' set but not used
Date: Mon, 19 Jul 2021 06:25:26 +0800	[thread overview]
Message-ID: <202107190617.guy4yF8k-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
head:   6f04e8ca5355b84edfdd022f0bb4dc18200341ef
commit: be8a3aecd21ae4769766ca6f1a88a1fbfbe2d148 [4185/4210] iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails
config: x86_64-randconfig-a015-20210718 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=be8a3aecd21ae4769766ca6f1a88a1fbfbe2d148
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.4.y
        git checkout be8a3aecd21ae4769766ca6f1a88a1fbfbe2d148
        # 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: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/intel/iwlwifi/fw/dbg.c:2484:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
           int ret = 0;
               ^
   1 warning generated.


vim +/ret +2484 drivers/net/wireless/intel/iwlwifi/fw/dbg.c

b721f5b1be18ae Shahar S Matityahu 2019-05-21  2479  
be8a3aecd21ae4 Luca Coelho        2020-03-06  2480  void iwl_fw_dbg_stop_restart_recording(struct iwl_fw_runtime *fwrt,
576058330f2d24 Shahar S Matityahu 2019-05-19  2481  				       struct iwl_fw_dbg_params *params,
576058330f2d24 Shahar S Matityahu 2019-05-19  2482  				       bool stop)
b721f5b1be18ae Shahar S Matityahu 2019-05-21  2483  {
576058330f2d24 Shahar S Matityahu 2019-05-19 @2484  	int ret = 0;

:::::: The code at line 2484 was first introduced by commit
:::::: 576058330f2d2403c93a66f48dfa98d90c6f7922 iwlwifi: dbg: support debug recording suspend resume command

:::::: TO: Shahar S Matityahu <shahar.s.matityahu@intel.com>
:::::: CC: Luca Coelho <luciano.coelho@intel.com>

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

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

             reply	other threads:[~2021-07-18 22:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18 22:25 kernel test robot [this message]
2021-07-18 22:25 ` [linux-stable-rc:linux-5.4.y 4185/4210] drivers/net/wireless/intel/iwlwifi/fw/dbg.c:2484:6: warning: variable 'ret' set but not used kernel test robot

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=202107190617.guy4yF8k-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luciano.coelho@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.