* [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
@ 2026-06-16 7:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-16 7:27 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-16 7:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 7:27 [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 kernel test robot
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.