* sound/soc/qcom/lpass-platform.c:226 __lpass_get_id() error: uninitialized symbol 'id'.
@ 2022-03-28 10:53 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-03-28 10:53 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3512 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
CC: Mark Brown <broonie@kernel.org>
CC: Venkata Prasad Potturu <quic_potturu@quicinc.com>
CC: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ae085d7f9365de7da27ab5c0d16b12d51ea7fca9
commit: 16413d5c5a2ed81d8fece1c5fe0b85752ecdbdf2 ASoC: qcom: Add helper function to get dma control and lpaif handle
date: 5 weeks ago
:::::: branch date: 9 hours ago
:::::: commit date: 5 weeks ago
config: riscv-randconfig-m031-20220327 (https://download.01.org/0day-ci/archive/20220328/202203281821.GjdtJpZe-lkp(a)intel.com/config)
compiler: riscv32-linux-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
sound/soc/qcom/lpass-platform.c:226 __lpass_get_id() error: uninitialized symbol 'id'.
vim +/id +226 sound/soc/qcom/lpass-platform.c
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 202
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 203 static int __lpass_get_id(const struct snd_pcm_substream *substream,
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 204 struct snd_soc_component *component)
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 205 {
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 206 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream);
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 207 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0);
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 208 struct lpass_data *drvdata = snd_soc_component_get_drvdata(component);
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 209 struct snd_pcm_runtime *rt = substream->runtime;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 210 struct lpass_pcm_data *pcm_data = rt->private_data;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 211 struct lpass_variant *v = drvdata->variant;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 212 int id;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 213
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 214 switch (cpu_dai->driver->id) {
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 215 case MI2S_PRIMARY ... MI2S_QUINARY:
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 216 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 217 id = pcm_data->dma_ch;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 218 else
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 219 id = pcm_data->dma_ch - v->wrdma_channel_start;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 220 break;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 221 case LPASS_DP_RX:
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 222 id = pcm_data->dma_ch;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 223 break;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 224 }
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 225
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 @226 return id;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 227 }
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 228
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* sound/soc/qcom/lpass-platform.c:226 __lpass_get_id() error: uninitialized symbol 'id'.
@ 2022-05-08 16:05 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-05-08 16:05 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3515 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
CC: Mark Brown <broonie@kernel.org>
CC: Venkata Prasad Potturu <quic_potturu@quicinc.com>
CC: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 30c8e80f79329617012f07b09b70114592092ea4
commit: 16413d5c5a2ed81d8fece1c5fe0b85752ecdbdf2 ASoC: qcom: Add helper function to get dma control and lpaif handle
date: 2 months ago
:::::: branch date: 22 hours ago
:::::: commit date: 2 months ago
config: openrisc-randconfig-m031-20220506 (https://download.01.org/0day-ci/archive/20220508/202205082317.9Dw0U3zx-lkp(a)intel.com/config)
compiler: or1k-linux-gcc (GCC) 11.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
sound/soc/qcom/lpass-platform.c:226 __lpass_get_id() error: uninitialized symbol 'id'.
vim +/id +226 sound/soc/qcom/lpass-platform.c
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 202
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 203 static int __lpass_get_id(const struct snd_pcm_substream *substream,
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 204 struct snd_soc_component *component)
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 205 {
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 206 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream);
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 207 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0);
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 208 struct lpass_data *drvdata = snd_soc_component_get_drvdata(component);
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 209 struct snd_pcm_runtime *rt = substream->runtime;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 210 struct lpass_pcm_data *pcm_data = rt->private_data;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 211 struct lpass_variant *v = drvdata->variant;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 212 int id;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 213
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 214 switch (cpu_dai->driver->id) {
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 215 case MI2S_PRIMARY ... MI2S_QUINARY:
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 216 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 217 id = pcm_data->dma_ch;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 218 else
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 219 id = pcm_data->dma_ch - v->wrdma_channel_start;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 220 break;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 221 case LPASS_DP_RX:
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 222 id = pcm_data->dma_ch;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 223 break;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 224 }
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 225
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 @226 return id;
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 227 }
16413d5c5a2ed8 Srinivasa Rao Mandadapu 2022-02-24 228
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
* sound/soc/qcom/lpass-platform.c:226 __lpass_get_id() error: uninitialized symbol 'id'.
@ 2022-07-26 15:56 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-07-26 15:56 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3542 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
CC: Mark Brown <broonie@kernel.org>
CC: Venkata Prasad Potturu <quic_potturu@quicinc.com>
CC: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e0dccc3b76fb35bb257b4118367a883073d7390e
commit: 16413d5c5a2ed81d8fece1c5fe0b85752ecdbdf2 ASoC: qcom: Add helper function to get dma control and lpaif handle
date: 5 months ago
:::::: branch date: 2 days ago
:::::: commit date: 5 months ago
config: openrisc-randconfig-m041-20220721 (https://download.01.org/0day-ci/archive/20220726/202207262321.tMITo7Xa-lkp(a)intel.com/config)
compiler: or1k-linux-gcc (GCC) 12.1.0
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
sound/soc/qcom/lpass-platform.c:226 __lpass_get_id() error: uninitialized symbol 'id'.
vim +/id +226 sound/soc/qcom/lpass-platform.c
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 202
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 203 static int __lpass_get_id(const struct snd_pcm_substream *substream,
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 204 struct snd_soc_component *component)
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 205 {
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 206 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream);
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 207 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0);
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 208 struct lpass_data *drvdata = snd_soc_component_get_drvdata(component);
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 209 struct snd_pcm_runtime *rt = substream->runtime;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 210 struct lpass_pcm_data *pcm_data = rt->private_data;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 211 struct lpass_variant *v = drvdata->variant;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 212 int id;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 213
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 214 switch (cpu_dai->driver->id) {
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 215 case MI2S_PRIMARY ... MI2S_QUINARY:
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 216 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 217 id = pcm_data->dma_ch;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 218 else
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 219 id = pcm_data->dma_ch - v->wrdma_channel_start;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 220 break;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 221 case LPASS_DP_RX:
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 222 id = pcm_data->dma_ch;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 223 break;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 224 }
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 225
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 @226 return id;
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 227 }
16413d5c5a2ed81 Srinivasa Rao Mandadapu 2022-02-24 228
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-26 15:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 10:53 sound/soc/qcom/lpass-platform.c:226 __lpass_get_id() error: uninitialized symbol 'id' kernel test robot
2022-05-08 16:05 kernel test robot
2022-07-26 15:56 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.