mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Gary Rookard <garyrookard@fastmail.org>, gregkh@linuxfoundation.org
Cc: oe-kbuild-all@lists.linux.dev, philipp.g.hortmann@gmail.com,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	Gary Rookard <garyrookard@fastmail.org>
Subject: Re: [PATCH] staging: rtl8192e: renamed variable HTIOTActIsDisableMCSTwoSpatialStream
Date: Sun, 22 Oct 2023 09:25:35 +0800	[thread overview]
Message-ID: <202310220944.r88EaZm2-lkp@intel.com> (raw)
In-Reply-To: <20231022002646.11861-1-garyrookard@fastmail.org>

Hi Gary,

kernel test robot noticed the following build errors:

[auto build test ERROR on staging/staging-testing]

url:    https://github.com/intel-lab-lkp/linux/commits/Gary-Rookard/staging-rtl8192e-renamed-variable-HTIOTActIsDisableMCSTwoSpatialStream/20231022-082912
base:   staging/staging-testing
patch link:    https://lore.kernel.org/r/20231022002646.11861-1-garyrookard%40fastmail.org
patch subject: [PATCH] staging: rtl8192e: renamed variable HTIOTActIsDisableMCSTwoSpatialStream
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231022/202310220944.r88EaZm2-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231022/202310220944.r88EaZm2-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310220944.r88EaZm2-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   drivers/staging/rtl8192e/rtl819x_HTProc.c: In function 'HTResetSelfAndSavePeerSetting':
>> drivers/staging/rtl8192e/rtl819x_HTProc.c:707:30: error: implicit declaration of function 'ht_iot_act_is_diable_mcs_two_spatial_stream'; did you mean 'ht_iot_act_is_disable_mcs_two_spatial_stream'? [-Werror=implicit-function-declaration]
     707 |                 bIOTAction = ht_iot_act_is_diable_mcs_two_spatial_stream(ieee);
         |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                              ht_iot_act_is_disable_mcs_two_spatial_stream
   drivers/staging/rtl8192e/rtl819x_HTProc.c: At top level:
>> drivers/staging/rtl8192e/rtl819x_HTProc.c:220:13: warning: 'ht_iot_act_is_disable_mcs_two_spatial_stream' defined but not used [-Wunused-function]
     220 | static bool ht_iot_act_is_disable_mcs_two_spatial_stream(struct rtllib_device *ieee)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +707 drivers/staging/rtl8192e/rtl819x_HTProc.c

   657	
   658	void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
   659					   struct rtllib_network *pNetwork)
   660	{
   661		struct rt_hi_throughput *ht_info = ieee->ht_info;
   662		u8	bIOTAction = 0;
   663	
   664		/* unmark enable_ht flag here is the same reason why unmarked in
   665		 * function rtllib_softmac_new_net. WB 2008.09.10
   666		 */
   667		if (pNetwork->bssht.bd_support_ht) {
   668			ht_info->current_ht_support = true;
   669			ht_info->ePeerHTSpecVer = pNetwork->bssht.bd_ht_spec_ver;
   670	
   671			if (pNetwork->bssht.bd_ht_cap_len > 0 &&
   672			    pNetwork->bssht.bd_ht_cap_len <= sizeof(ht_info->PeerHTCapBuf))
   673				memcpy(ht_info->PeerHTCapBuf,
   674				       pNetwork->bssht.bd_ht_cap_buf,
   675				       pNetwork->bssht.bd_ht_cap_len);
   676	
   677			if (pNetwork->bssht.bd_ht_info_len > 0 &&
   678			    pNetwork->bssht.bd_ht_info_len <=
   679			    sizeof(ht_info->PeerHTInfoBuf))
   680				memcpy(ht_info->PeerHTInfoBuf,
   681				       pNetwork->bssht.bd_ht_info_buf,
   682				       pNetwork->bssht.bd_ht_info_len);
   683	
   684			if (ht_info->reg_rt2rt_aggregation) {
   685				ht_info->current_rt2rt_aggregation =
   686					 pNetwork->bssht.bd_rt2rt_aggregation;
   687				ht_info->current_rt2rt_long_slot_time =
   688					 pNetwork->bssht.bd_rt2rt_long_slot_time;
   689				ht_info->RT2RT_HT_Mode = pNetwork->bssht.rt2rt_ht_mode;
   690			} else {
   691				ht_info->current_rt2rt_aggregation = false;
   692				ht_info->current_rt2rt_long_slot_time = false;
   693				ht_info->RT2RT_HT_Mode = (enum rt_ht_capability)0;
   694			}
   695	
   696			HTIOTPeerDetermine(ieee);
   697	
   698			ht_info->iot_action = 0;
   699			bIOTAction = HTIOTActIsDisableMCS14(ieee, pNetwork->bssid);
   700			if (bIOTAction)
   701				ht_info->iot_action |= HT_IOT_ACT_DISABLE_MCS14;
   702	
   703			bIOTAction = HTIOTActIsDisableMCS15(ieee);
   704			if (bIOTAction)
   705				ht_info->iot_action |= HT_IOT_ACT_DISABLE_MCS15;
   706	
 > 707			bIOTAction = ht_iot_act_is_diable_mcs_two_spatial_stream(ieee);
   708			if (bIOTAction)
   709				ht_info->iot_action |= HT_IOT_ACT_DISABLE_ALL_2SS;
   710	
   711			bIOTAction = HTIOTActIsDisableEDCATurbo(ieee, pNetwork->bssid);
   712			if (bIOTAction)
   713				ht_info->iot_action |= HT_IOT_ACT_DISABLE_EDCA_TURBO;
   714	
   715			bIOTAction = HTIOTActIsMgntUseCCK6M(ieee, pNetwork);
   716			if (bIOTAction)
   717				ht_info->iot_action |= HT_IOT_ACT_MGNT_USE_CCK_6M;
   718			bIOTAction = HTIOTActIsCCDFsync(ieee);
   719			if (bIOTAction)
   720				ht_info->iot_action |= HT_IOT_ACT_CDD_FSYNC;
   721		} else {
   722			ht_info->current_ht_support = false;
   723			ht_info->current_rt2rt_aggregation = false;
   724			ht_info->current_rt2rt_long_slot_time = false;
   725			ht_info->RT2RT_HT_Mode = (enum rt_ht_capability)0;
   726	
   727			ht_info->iot_action = 0;
   728			ht_info->iot_ra_func = 0;
   729		}
   730	}
   731	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      reply	other threads:[~2023-10-22  1:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-22  0:26 Gary Rookard
2023-10-22  1:25 ` kernel test robot [this message]

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=202310220944.r88EaZm2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=garyrookard@fastmail.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=philipp.g.hortmann@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

all inboxes | Powered by JetHome®