public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [RFC PATCH 6/6] net: ethernet: ti: am65-cpsw-nuss: Enable batch processing for TX / TX CMPL
       [not found] <20260325123850.638748-7-s-vadapalli@ti.com>
@ 2026-03-28 21:01 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-28 21:01 UTC (permalink / raw)
  To: Siddharth Vadapalli; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-28 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260325123850.638748-7-s-vadapalli@ti.com>
2026-03-28 21:01 ` [RFC PATCH 6/6] net: ethernet: ti: am65-cpsw-nuss: Enable batch processing for TX / TX CMPL kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox