All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12-2026-03 1/1] drivers/net/ethernet/intel/idpf/idpf_txrx.c:2173: warning: expecting prototype for idpf_tx_splitq_has_room(). Prototype was for idpf_txq_has_room() instead
Date: Tue, 16 Jun 2026 15:27:42 +0800	[thread overview]
Message-ID: <202606161516.ajedEUJv-lkp@intel.com> (raw)

Hi Joshua,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android16-6.12-2026-03
head:   8348ff4d333b3eb995260fb6905eb19c08cb717a
commit: a7a7bff258e1f5aee2bb95ebbc12bbd6533dd1e7 [1/1] idpf: stop Tx if there are insufficient buffer resources
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260616/202606161516.ajedEUJv-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606161516.ajedEUJv-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/202606161516.ajedEUJv-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/intel/idpf/idpf_txrx.c:2173: warning: expecting prototype for idpf_tx_splitq_has_room(). Prototype was for idpf_txq_has_room() instead


vim +2173 drivers/net/ethernet/intel/idpf/idpf_txrx.c

6818c4d5b3c2e9d Joshua Hay    2023-08-07  2162  
a7a7bff258e1f5a Joshua Hay    2025-12-15  2163  /**
a7a7bff258e1f5a Joshua Hay    2025-12-15  2164   * idpf_tx_splitq_has_room - check if enough Tx splitq resources are available
a7a7bff258e1f5a Joshua Hay    2025-12-15  2165   * @tx_q: the queue to be checked
a7a7bff258e1f5a Joshua Hay    2025-12-15  2166   * @descs_needed: number of descriptors required for this packet
a7a7bff258e1f5a Joshua Hay    2025-12-15  2167   * @bufs_needed: number of Tx buffers required for this packet
a7a7bff258e1f5a Joshua Hay    2025-12-15  2168   *
a7a7bff258e1f5a Joshua Hay    2025-12-15  2169   * Return: 0 if no room available, 1 otherwise
12e40d01d6d1aa9 Brian Vazquez 2025-05-01  2170   */
a7a7bff258e1f5a Joshua Hay    2025-12-15  2171  static int idpf_txq_has_room(struct idpf_tx_queue *tx_q, u32 descs_needed,
a7a7bff258e1f5a Joshua Hay    2025-12-15  2172  			     u32 bufs_needed)
12e40d01d6d1aa9 Brian Vazquez 2025-05-01 @2173  {
a7a7bff258e1f5a Joshua Hay    2025-12-15  2174  	if (IDPF_DESC_UNUSED(tx_q) < descs_needed ||
12e40d01d6d1aa9 Brian Vazquez 2025-05-01  2175  	    IDPF_TX_COMPLQ_PENDING(tx_q->txq_grp) >
12e40d01d6d1aa9 Brian Vazquez 2025-05-01  2176  		IDPF_TX_COMPLQ_OVERFLOW_THRESH(tx_q->txq_grp->complq) ||
a7a7bff258e1f5a Joshua Hay    2025-12-15  2177  	    IDPF_TX_BUF_RSV_LOW(tx_q) ||
a7a7bff258e1f5a Joshua Hay    2025-12-15  2178  	    idpf_tx_splitq_get_free_bufs(tx_q->refillq) < bufs_needed)
12e40d01d6d1aa9 Brian Vazquez 2025-05-01  2179  		return 0;
12e40d01d6d1aa9 Brian Vazquez 2025-05-01  2180  	return 1;
12e40d01d6d1aa9 Brian Vazquez 2025-05-01  2181  }
12e40d01d6d1aa9 Brian Vazquez 2025-05-01  2182  

:::::: The code at line 2173 was first introduced by commit
:::::: 12e40d01d6d1aa9224200d6b9d9570d6aa68ef74 idpf: fix a race in txq wakeup

:::::: TO: Brian Vazquez <brianvv@google.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

                 reply	other threads:[~2026-06-16  7:27 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=202606161516.ajedEUJv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --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 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.