public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [krzk-github:n/audio-sm8650-on-neil-codelinaro-topic-sm8650-upstream-integ 15/30] sound/soc/qcom/lpass.h:43:7: error: use of undeclared identifier 'LPASS_CDC_DMA_RX0'
@ 2024-01-19 21:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-19 21:09 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: llvm, oe-kbuild-all

tree:   https://github.com/krzk/linux n/audio-sm8650-on-neil-codelinaro-topic-sm8650-upstream-integ
head:   5cac1bb64a0300d340c5e369489c731b30aa5e79
commit: 09ac587b4c3759cc859d282118bf963cbdfc17ac [15/30] UPSTREAM: ASoC: qcom: reduce number of binding headers includes
config: arm-randconfig-001-20240118 (https://download.01.org/0day-ci/archive/20240120/202401200528.iSlkIgkO-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240120/202401200528.iSlkIgkO-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/202401200528.iSlkIgkO-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from sound/soc/qcom/lpass-ipq806x.c:21:
>> sound/soc/qcom/lpass.h:43:7: error: use of undeclared identifier 'LPASS_CDC_DMA_RX0'
           case LPASS_CDC_DMA_RX0 ... LPASS_CDC_DMA_RX9:
                ^
>> sound/soc/qcom/lpass.h:44:7: error: use of undeclared identifier 'LPASS_CDC_DMA_TX0'
           case LPASS_CDC_DMA_TX0 ... LPASS_CDC_DMA_TX8:
                ^
>> sound/soc/qcom/lpass.h:45:7: error: use of undeclared identifier 'LPASS_CDC_DMA_VA_TX0'
           case LPASS_CDC_DMA_VA_TX0 ... LPASS_CDC_DMA_VA_TX8:
                ^
   sound/soc/qcom/lpass.h:54:7: error: use of undeclared identifier 'LPASS_CDC_DMA_RX0'
           case LPASS_CDC_DMA_RX0 ... LPASS_CDC_DMA_RX9:
                ^
   sound/soc/qcom/lpass.h:55:7: error: use of undeclared identifier 'LPASS_CDC_DMA_TX0'
           case LPASS_CDC_DMA_TX0 ... LPASS_CDC_DMA_TX8:
                ^
   5 errors generated.


vim +/LPASS_CDC_DMA_RX0 +43 sound/soc/qcom/lpass.h

7cb37b7bd0d3c93 V Sujith Kumar Reddy    2020-10-08  32  
7cb37b7bd0d3c93 V Sujith Kumar Reddy    2020-10-08  33  #define QCOM_REGMAP_FIELD_ALLOC(d, m, f, mf)    \
7cb37b7bd0d3c93 V Sujith Kumar Reddy    2020-10-08  34  	do { \
7cb37b7bd0d3c93 V Sujith Kumar Reddy    2020-10-08  35  		mf = devm_regmap_field_alloc(d, m, f);     \
7cb37b7bd0d3c93 V Sujith Kumar Reddy    2020-10-08  36  		if (IS_ERR(mf))                \
7cb37b7bd0d3c93 V Sujith Kumar Reddy    2020-10-08  37  			return -EINVAL;         \
7cb37b7bd0d3c93 V Sujith Kumar Reddy    2020-10-08  38  	} while (0)
cd59f13823ae65a Kenneth Westfield       2015-03-03  39  
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  40  static inline bool is_cdc_dma_port(int dai_id)
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  41  {
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  42  	switch (dai_id) {
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24 @43  	case LPASS_CDC_DMA_RX0 ... LPASS_CDC_DMA_RX9:
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24 @44  	case LPASS_CDC_DMA_TX0 ... LPASS_CDC_DMA_TX8:
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24 @45  	case LPASS_CDC_DMA_VA_TX0 ... LPASS_CDC_DMA_VA_TX8:
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  46  		return true;
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  47  	}
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  48  	return false;
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  49  }
dc8d9766bc03efe Srinivasa Rao Mandadapu 2022-02-24  50  

:::::: The code at line 43 was first introduced by commit
:::::: dc8d9766bc03efee4d1b6dd912659858fdf981de ASoC: qcom: Add register definition for codec rddma and wrdma

:::::: TO: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
:::::: CC: Mark Brown <broonie@kernel.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:[~2024-01-19 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-19 21:09 [krzk-github:n/audio-sm8650-on-neil-codelinaro-topic-sm8650-upstream-integ 15/30] sound/soc/qcom/lpass.h:43:7: error: use of undeclared identifier 'LPASS_CDC_DMA_RX0' 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