All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yury Norov <yury.norov@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [norov:find_and_clear_tmp1 25/46] drivers/net/wireless/intel/iwlwifi/dvm/tx.c:473:1: error: function definition is not allowed here
Date: Tue, 31 Oct 2023 19:39:53 +0800	[thread overview]
Message-ID: <202310311955.meEXMms3-lkp@intel.com> (raw)

tree:   https://github.com/norov/linux find_and_clear_tmp1
head:   62bfd93b1d4bc92cd171973923c45a2b011f1c5c
commit: d2a923ac7fd344f9f6be35393ae75b64ec9fac27 [25/46] wifi: intel: use atomic find_bit() API where appropriate
config: powerpc64-allyesconfig (https://download.01.org/0day-ci/archive/20231031/202310311955.meEXMms3-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310311955.meEXMms3-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/202310311955.meEXMms3-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/net/wireless/intel/iwlwifi/dvm/tx.c:473:1: error: function definition is not allowed here
     473 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:480:1: error: function definition is not allowed here
     480 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:571:1: error: function definition is not allowed here
     571 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:630:1: error: function definition is not allowed here
     630 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:675:1: error: function definition is not allowed here
     675 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:738:1: error: function definition is not allowed here
     738 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:782:1: error: function definition is not allowed here
     782 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:803:1: error: function definition is not allowed here
     803 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:823:1: error: function definition is not allowed here
     823 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:862:1: error: function definition is not allowed here
     862 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:909:1: error: function definition is not allowed here
     909 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:916:1: error: function definition is not allowed here
     916 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:979:1: error: function definition is not allowed here
     979 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:1003:1: error: function definition is not allowed here
    1003 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:1082:1: error: function definition is not allowed here
    1082 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:1097:1: error: function definition is not allowed here
    1097 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:1106:1: error: function definition is not allowed here
    1106 | {
         | ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:1259:1: error: function definition is not allowed here
    1259 | {
         | ^
>> drivers/net/wireless/intel/iwlwifi/dvm/tx.c:1386:2: error: expected '}'
    1386 | }
         |  ^
   drivers/net/wireless/intel/iwlwifi/dvm/tx.c:461:1: note: to match this '{'
     461 | {
         | ^
   19 errors generated.
--
>> drivers/net/wireless/intel/iwlwifi/dvm/sta.c:722:51: error: use of undeclared identifier 'sta_key_max_num'
     722 |         int i = find_and_set_bit(&priv->ucode_key_table, sta_key_max_num);
         |                                                          ^
   drivers/net/wireless/intel/iwlwifi/dvm/sta.c:724:13: error: use of undeclared identifier 'sta_key_max_num'
     724 |         return i < sta_key_max_num ? i : WEP_INVALID_OFFSET;
         |                    ^
   2 errors generated.


vim +473 drivers/net/wireless/intel/iwlwifi/dvm/tx.c

9eae88fa9a02e3 drivers/net/wireless/iwlwifi/iwl-agn-tx.c Johannes Berg 2012-03-15  471  
9eae88fa9a02e3 drivers/net/wireless/iwlwifi/iwl-agn-tx.c Johannes Berg 2012-03-15  472  static void iwlagn_dealloc_agg_txq(struct iwl_priv *priv, int q)
9eae88fa9a02e3 drivers/net/wireless/iwlwifi/iwl-agn-tx.c Johannes Berg 2012-03-15 @473  {
9eae88fa9a02e3 drivers/net/wireless/iwlwifi/iwl-agn-tx.c Johannes Berg 2012-03-15  474  	clear_bit(q, priv->agg_q_alloc);
1479177ba69023 drivers/net/wireless/iwlwifi/iwl-agn-tx.c Johannes Berg 2012-04-17  475  	priv->queue_to_mac80211[q] = IWL_INVALID_MAC80211_QUEUE;
9eae88fa9a02e3 drivers/net/wireless/iwlwifi/iwl-agn-tx.c Johannes Berg 2012-03-15  476  }
9eae88fa9a02e3 drivers/net/wireless/iwlwifi/iwl-agn-tx.c Johannes Berg 2012-03-15  477  

:::::: The code at line 473 was first introduced by commit
:::::: 9eae88fa9a02e31af69a215beaa5e1194da3a5a1 iwlwifi: move queue mapping out of transport

:::::: TO: Johannes Berg <johannes.berg@intel.com>
:::::: CC: John W. Linville <linville@tuxdriver.com>

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

                 reply	other threads:[~2023-10-31 11:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202310311955.meEXMms3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yury.norov@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 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.