[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202208192018.BfgiZyOY-lkp@intel.com>
Date: Fri, 19 Aug 2022 21:07:31 +0800
From: kernel test robot <lkp@...el.com>
To: Nam Cao <namcaov@...il.com>, gregkh@...uxfoundation.org
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
linux-staging@...ts.linux.dev, namcaov@...il.com,
hdegoede@...hat.com, Larry.Finger@...inger.net
Subject: Re: [PATCH 1/7] staging: rtl8723bs: remove function
rtw_odm_dbg_comp_msg
Hi Nam,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on staging/staging-testing]
url: https://github.com/intel-lab-lkp/linux/commits/Nam-Cao/staging-rtl8723bs-remove-dead-functions/20220819-165905
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 8379cf83fe6d57a12952de6dcaf7a7fbd7b364fc
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220819/202208192018.BfgiZyOY-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/3b86aa03519d904d916cb62a1113c0c5549496cb
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Nam-Cao/staging-rtl8723bs-remove-dead-functions/20220819-165905
git checkout 3b86aa03519d904d916cb62a1113c0c5549496cb
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/staging/rtl8723bs/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/staging/rtl8723bs/core/rtw_odm.c:13:27: warning: 'odm_comp_str' defined but not used [-Wunused-const-variable=]
13 | static const char * const odm_comp_str[] = {
| ^~~~~~~~~~~~
vim +/odm_comp_str +13 drivers/staging/rtl8723bs/core/rtw_odm.c
554c0a3abf216c Hans de Goede 2017-03-29 12
05031914cb8f5b Tom Gardi 2017-08-12 @13 static const char * const odm_comp_str[] = {
554c0a3abf216c Hans de Goede 2017-03-29 14 /* BIT0 */"ODM_COMP_DIG",
554c0a3abf216c Hans de Goede 2017-03-29 15 /* BIT1 */"ODM_COMP_RA_MASK",
554c0a3abf216c Hans de Goede 2017-03-29 16 /* BIT2 */"ODM_COMP_DYNAMIC_TXPWR",
554c0a3abf216c Hans de Goede 2017-03-29 17 /* BIT3 */"ODM_COMP_FA_CNT",
554c0a3abf216c Hans de Goede 2017-03-29 18 /* BIT4 */"ODM_COMP_RSSI_MONITOR",
554c0a3abf216c Hans de Goede 2017-03-29 19 /* BIT5 */"ODM_COMP_CCK_PD",
554c0a3abf216c Hans de Goede 2017-03-29 20 /* BIT6 */"ODM_COMP_ANT_DIV",
554c0a3abf216c Hans de Goede 2017-03-29 21 /* BIT7 */"ODM_COMP_PWR_SAVE",
554c0a3abf216c Hans de Goede 2017-03-29 22 /* BIT8 */"ODM_COMP_PWR_TRAIN",
554c0a3abf216c Hans de Goede 2017-03-29 23 /* BIT9 */"ODM_COMP_RATE_ADAPTIVE",
554c0a3abf216c Hans de Goede 2017-03-29 24 /* BIT10 */"ODM_COMP_PATH_DIV",
554c0a3abf216c Hans de Goede 2017-03-29 25 /* BIT11 */"ODM_COMP_PSD",
554c0a3abf216c Hans de Goede 2017-03-29 26 /* BIT12 */"ODM_COMP_DYNAMIC_PRICCA",
554c0a3abf216c Hans de Goede 2017-03-29 27 /* BIT13 */"ODM_COMP_RXHP",
554c0a3abf216c Hans de Goede 2017-03-29 28 /* BIT14 */"ODM_COMP_MP",
554c0a3abf216c Hans de Goede 2017-03-29 29 /* BIT15 */"ODM_COMP_DYNAMIC_ATC",
554c0a3abf216c Hans de Goede 2017-03-29 30 /* BIT16 */"ODM_COMP_EDCA_TURBO",
554c0a3abf216c Hans de Goede 2017-03-29 31 /* BIT17 */"ODM_COMP_EARLY_MODE",
554c0a3abf216c Hans de Goede 2017-03-29 32 /* BIT18 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 33 /* BIT19 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 34 /* BIT20 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 35 /* BIT21 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 36 /* BIT22 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 37 /* BIT23 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 38 /* BIT24 */"ODM_COMP_TX_PWR_TRACK",
554c0a3abf216c Hans de Goede 2017-03-29 39 /* BIT25 */"ODM_COMP_RX_GAIN_TRACK",
554c0a3abf216c Hans de Goede 2017-03-29 40 /* BIT26 */"ODM_COMP_CALIBRATION",
554c0a3abf216c Hans de Goede 2017-03-29 41 /* BIT27 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 42 /* BIT28 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 43 /* BIT29 */NULL,
554c0a3abf216c Hans de Goede 2017-03-29 44 /* BIT30 */"ODM_COMP_COMMON",
554c0a3abf216c Hans de Goede 2017-03-29 45 /* BIT31 */"ODM_COMP_INIT",
554c0a3abf216c Hans de Goede 2017-03-29 46 };
554c0a3abf216c Hans de Goede 2017-03-29 47
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists