mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: SAJJA EASWAR SAI <eshwarsajja20@gmail.com>, gregkh@linuxfoundation.org
Cc: oe-kbuild-all@lists.linux.dev, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org, eshwarsajja20@gmail.com
Subject: Re: [PATCH] staging: rtw_mlme_ext: remove hardcoded dead debug code
Date: Fri, 30 Jan 2026 23:30:25 +0800	[thread overview]
Message-ID: <202601302336.Jt5bRreu-lkp@intel.com> (raw)
In-Reply-To: <20260130062956.858992-1-eshwarsajja20@gmail.com>

Hi SAJJA,

kernel test robot noticed the following build warnings:

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

url:    https://github.com/intel-lab-lkp/linux/commits/SAJJA-EASWAR-SAI/staging-rtw_mlme_ext-remove-hardcoded-dead-debug-code/20260130-143203
base:   staging/staging-testing
patch link:    https://lore.kernel.org/r/20260130062956.858992-1-eshwarsajja20%40gmail.com
patch subject: [PATCH] staging: rtw_mlme_ext: remove hardcoded dead debug code
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20260130/202601302336.Jt5bRreu-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260130/202601302336.Jt5bRreu-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/202601302336.Jt5bRreu-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/staging/rtl8723bs/core/rtw_mlme_ext.c: In function 'OnAction_sa_query':
>> drivers/staging/rtl8723bs/core/rtw_mlme_ext.c:1851:31: warning: unused variable 'pattrib' [-Wunused-variable]
    1851 |         struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib;
         |                               ^~~~~~~


vim +/pattrib +1851 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

554c0a3abf216c Hans de Goede   2017-03-29  1847  
554c0a3abf216c Hans de Goede   2017-03-29  1848  unsigned int OnAction_sa_query(struct adapter *padapter, union recv_frame *precv_frame)
554c0a3abf216c Hans de Goede   2017-03-29  1849  {
554c0a3abf216c Hans de Goede   2017-03-29  1850  	u8 *pframe = precv_frame->u.hdr.rx_data;
554c0a3abf216c Hans de Goede   2017-03-29 @1851  	struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib;
554c0a3abf216c Hans de Goede   2017-03-29  1852  	struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv);
554c0a3abf216c Hans de Goede   2017-03-29  1853  	unsigned short tid;
554c0a3abf216c Hans de Goede   2017-03-29  1854  
554c0a3abf216c Hans de Goede   2017-03-29  1855  	switch (pframe[WLAN_HDR_A3_LEN+1]) {
554c0a3abf216c Hans de Goede   2017-03-29  1856  	case 0: /* SA Query req */
554c0a3abf216c Hans de Goede   2017-03-29  1857  		memcpy(&tid, &pframe[WLAN_HDR_A3_LEN+2], sizeof(unsigned short));
554c0a3abf216c Hans de Goede   2017-03-29  1858  		issue_action_SA_Query(padapter, GetAddr2Ptr(pframe), 1, tid);
554c0a3abf216c Hans de Goede   2017-03-29  1859  		break;
554c0a3abf216c Hans de Goede   2017-03-29  1860  
554c0a3abf216c Hans de Goede   2017-03-29  1861  	case 1: /* SA Query rsp */
8fa7292fee5c52 Thomas Gleixner 2025-04-05  1862  		timer_delete_sync(&pmlmeext->sa_query_timer);
554c0a3abf216c Hans de Goede   2017-03-29  1863  		break;
554c0a3abf216c Hans de Goede   2017-03-29  1864  	default:
554c0a3abf216c Hans de Goede   2017-03-29  1865  		break;
554c0a3abf216c Hans de Goede   2017-03-29  1866  	}
554c0a3abf216c Hans de Goede   2017-03-29  1867  	return _SUCCESS;
554c0a3abf216c Hans de Goede   2017-03-29  1868  }
554c0a3abf216c Hans de Goede   2017-03-29  1869  

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

      reply	other threads:[~2026-01-30 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-30  6:29 SAJJA EASWAR SAI
2026-01-30 15:30 ` 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=202601302336.Jt5bRreu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=eshwarsajja20@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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®