All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2021-07-18 22:25 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-18 22:25 UTC (permalink / raw)
  To: Luca Coelho
  Cc: clang-built-linux, kbuild-all, linux-kernel, Greg Kroah-Hartman

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
@ 2021-07-18 22:25 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-18 22:25 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-18 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-07-18 22:25 ` kernel test robot

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.