From: kernel test robot <lkp@intel.com>
To: Siddharth Vadapalli <s-vadapalli@ti.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 6/6] net: ethernet: ti: am65-cpsw-nuss: Enable batch processing for TX / TX CMPL
Date: Sun, 29 Mar 2026 05:01:10 +0800 [thread overview]
Message-ID: <202603290408.efqYwGwb-lkp@intel.com> (raw)
In-Reply-To: <20260325123850.638748-7-s-vadapalli@ti.com>
Hi Siddharth,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on vkoul-dmaengine/next]
[also build test WARNING on linus/master v7.0-rc5 next-20260327]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Siddharth-Vadapalli/soc-ti-k3-ringacc-Add-helper-to-get-realtime-count-of-free-elements/20260326-120018
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
patch link: https://lore.kernel.org/r/20260325123850.638748-7-s-vadapalli%40ti.com
patch subject: [RFC PATCH 6/6] net: ethernet: ti: am65-cpsw-nuss: Enable batch processing for TX / TX CMPL
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260329/202603290408.efqYwGwb-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260329/202603290408.efqYwGwb-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/202603290408.efqYwGwb-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/ti/am65-cpsw-nuss.c:900:9: warning: cast to smaller integer type 'enum am65_cpsw_tx_buf_type' from 'void *' [-Wvoid-pointer-to-enum-cast]
900 | return (enum am65_cpsw_tx_buf_type)k3_cppi_desc_pool_desc_info(tx_chn->desc_pool,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
901 | desc_idx);
| ~~~~~~~~~
>> drivers/net/ethernet/ti/am65-cpsw-nuss.c:1705:6: warning: variable 'res' set but not used [-Wunused-but-set-variable]
1705 | int res, num_tx;
| ^
2 warnings generated.
vim +/res +1705 drivers/net/ethernet/ti/am65-cpsw-nuss.c
1698
1699 static int am65_cpsw_nuss_tx_compl_packets(struct am65_cpsw_common *common,
1700 int chn, unsigned int budget, bool *tdown)
1701 {
1702 bool single_port = AM65_CPSW_IS_CPSW2G(common);
1703 struct am65_cpsw_tx_chn *tx_chn;
1704 u32 batch_size = 0;
> 1705 int res, num_tx;
1706
1707 tx_chn = &common->tx_chns[chn];
1708
1709 if (!single_port)
1710 spin_lock(&tx_chn->lock);
1711
1712 res = k3_udma_glue_pop_tx_chn_batch(tx_chn->tx_chn, tx_chn->cmpl_desc_dma_array,
1713 &batch_size, AM65_CPSW_TX_BATCH_SIZE);
1714 if (!batch_size) {
1715 if (!single_port)
1716 spin_unlock(&tx_chn->lock);
1717 return 0;
1718 }
1719
1720 num_tx = am65_cpsw_nuss_tx_cmpl_free_batch(common, chn, batch_size, budget, tdown);
1721
1722 if (!single_port)
1723 spin_unlock(&tx_chn->lock);
1724
1725 return num_tx;
1726 }
1727
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2026-03-28 21:02 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20260325123850.638748-7-s-vadapalli@ti.com>]
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=202603290408.efqYwGwb-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=s-vadapalli@ti.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