llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH RFC 2/6] dmaengine: Make of_dma_request_slave_channel pass a cookie to of_xlate
       [not found] <20250730-topic-dma_genise_cookie-v1-2-b505c1238f9f@oss.qualcomm.com>
@ 2025-07-30 19:43 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-30 19:43 UTC (permalink / raw)
  To: Konrad Dybcio; +Cc: llvm, oe-kbuild-all

Hi Konrad,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on 79fb37f39b77bbf9a56304e9af843cd93a7a1916]

url:    https://github.com/intel-lab-lkp/linux/commits/Konrad-Dybcio/dt-bindings-dma-qcom-gpi-Retire-passing-the-protocol-ID/20250730-173806
base:   79fb37f39b77bbf9a56304e9af843cd93a7a1916
patch link:    https://lore.kernel.org/r/20250730-topic-dma_genise_cookie-v1-2-b505c1238f9f%40oss.qualcomm.com
patch subject: [PATCH RFC 2/6] dmaengine: Make of_dma_request_slave_channel pass a cookie to of_xlate
config: i386-buildonly-randconfig-003-20250731 (https://download.01.org/0day-ci/archive/20250731/202507310336.MGXNWyoj-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250731/202507310336.MGXNWyoj-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/202507310336.MGXNWyoj-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/i2c/busses/i2c-mxs.c:26:
>> include/linux/dmaengine.h:1555:18: warning: no previous prototype for function 'dma_request_chan_w_data' [-Wmissing-prototypes]
    1555 | struct dma_chan *dma_request_chan_w_data(struct device *dev,
         |                  ^
   include/linux/dmaengine.h:1555:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
    1555 | struct dma_chan *dma_request_chan_w_data(struct device *dev,
         | ^
         | static 
   1 warning generated.


vim +/dma_request_chan_w_data +1555 include/linux/dmaengine.h

  1529	
  1530	void dma_release_channel(struct dma_chan *chan);
  1531	int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps);
  1532	#else
  1533	static inline struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type)
  1534	{
  1535		return NULL;
  1536	}
  1537	static inline enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie)
  1538	{
  1539		return DMA_COMPLETE;
  1540	}
  1541	static inline enum dma_status dma_wait_for_async_tx(struct dma_async_tx_descriptor *tx)
  1542	{
  1543		return DMA_COMPLETE;
  1544	}
  1545	static inline void dma_issue_pending_all(void)
  1546	{
  1547	}
  1548	static inline struct dma_chan *__dma_request_channel(const dma_cap_mask_t *mask,
  1549							     dma_filter_fn fn,
  1550							     void *fn_param,
  1551							     struct device_node *np)
  1552	{
  1553		return NULL;
  1554	}
> 1555	struct dma_chan *dma_request_chan_w_data(struct device *dev,
  1556						 const char *name,
  1557						 void *data)
  1558	{
  1559		return ERR_PTR(-ENODEV);
  1560	}
  1561	static inline struct dma_chan *dma_request_chan(struct device *dev,
  1562							const char *name)
  1563	{
  1564		return ERR_PTR(-ENODEV);
  1565	}
  1566	static inline struct dma_chan *dma_request_chan_by_mask(
  1567							const dma_cap_mask_t *mask)
  1568	{
  1569		return ERR_PTR(-ENODEV);
  1570	}
  1571	

-- 
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:[~2025-07-30 19:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250730-topic-dma_genise_cookie-v1-2-b505c1238f9f@oss.qualcomm.com>
2025-07-30 19:43 ` [PATCH RFC 2/6] dmaengine: Make of_dma_request_slave_channel pass a cookie to of_xlate 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;
as well as URLs for NNTP newsgroup(s).