From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [morimoto:sound-cleanup-2026-03-27 101/106] sound/soc/pxa/mmp-sspa.c:86:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast
Date: Sat, 28 Mar 2026 10:00:37 +0800 [thread overview]
Message-ID: <202603280937.IGUTLytF-lkp@intel.com> (raw)
tree: https://github.com/morimoto/linux sound-cleanup-2026-03-27
head: b547ff73a13ed8ce92e8e208ccd27884077b160b
commit: feccc3fa86242c4532cc238e50998046b7ba39f6 [101/106] ASoC: soc-dai: remove snd_soc_dai_{set/get}_drvdata()
config: arm64-randconfig-004-20260328 (https://download.01.org/0day-ci/archive/20260328/202603280937.IGUTLytF-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260328/202603280937.IGUTLytF-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/202603280937.IGUTLytF-lkp@intel.com/
All warnings (new ones prefixed by >>):
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_startup':
sound/soc/pxa/mmp-sspa.c:86:27: error: implicit declaration of function 'snd_soc_dai_get_drvdata'; did you mean 'snd_soc_card_get_drvdata'? [-Werror=implicit-function-declaration]
struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai);
^~~~~~~~~~~~~~~~~~~~~~~
snd_soc_card_get_drvdata
>> sound/soc/pxa/mmp-sspa.c:86:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_shutdown':
sound/soc/pxa/mmp-sspa.c:97:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai);
^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_set_dai_sysclk':
sound/soc/pxa/mmp-sspa.c:109:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct sspa_priv *sspa = snd_soc_dai_get_drvdata(cpu_dai);
^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c:110:23: error: implicit declaration of function 'snd_soc_dai_to_dev'; did you mean 'snd_soc_dapm_to_dev'? [-Werror=implicit-function-declaration]
struct device *dev = snd_soc_dai_to_dev(cpu_dai);
^~~~~~~~~~~~~~~~~~
snd_soc_dapm_to_dev
sound/soc/pxa/mmp-sspa.c:110:23: warning: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_set_dai_pll':
sound/soc/pxa/mmp-sspa.c:137:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct sspa_priv *sspa = snd_soc_dai_get_drvdata(cpu_dai);
^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c:138:23: warning: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct device *dev = snd_soc_dai_to_dev(cpu_dai);
^~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_set_dai_fmt':
sound/soc/pxa/mmp-sspa.c:168:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct sspa_priv *sspa = snd_soc_dai_get_drvdata(cpu_dai);
^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_hw_params':
sound/soc/pxa/mmp-sspa.c:215:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai);
^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c:216:23: warning: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct device *dev = snd_soc_dai_to_dev(dai);
^~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_trigger':
sound/soc/pxa/mmp-sspa.c:283:27: warning: initialization of 'struct sspa_priv *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai);
^~~~~~~~~~~~~~~~~~~~~~~
sound/soc/pxa/mmp-sspa.c: In function 'mmp_sspa_probe':
sound/soc/pxa/mmp-sspa.c:327:23: warning: initialization of 'struct device *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
struct device *dev = snd_soc_dai_to_dev(dai);
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +86 sound/soc/pxa/mmp-sspa.c
fa375d42f0e531 Zhangfei Gao 2012-06-11 82
fa375d42f0e531 Zhangfei Gao 2012-06-11 83 static int mmp_sspa_startup(struct snd_pcm_substream *substream,
fa375d42f0e531 Zhangfei Gao 2012-06-11 84 struct snd_soc_dai *dai)
fa375d42f0e531 Zhangfei Gao 2012-06-11 85 {
3c4e89df3b4534 Lubomir Rintel 2020-05-11 @86 struct sspa_priv *sspa = snd_soc_dai_get_drvdata(dai);
fa375d42f0e531 Zhangfei Gao 2012-06-11 87
8ecdcac8792b67 Lubomir Rintel 2020-05-11 88 clk_prepare_enable(sspa->sysclk);
8ecdcac8792b67 Lubomir Rintel 2020-05-11 89 clk_prepare_enable(sspa->clk);
fa375d42f0e531 Zhangfei Gao 2012-06-11 90
fa375d42f0e531 Zhangfei Gao 2012-06-11 91 return 0;
fa375d42f0e531 Zhangfei Gao 2012-06-11 92 }
fa375d42f0e531 Zhangfei Gao 2012-06-11 93
:::::: The code at line 86 was first introduced by commit
:::::: 3c4e89df3b45348dc0ee01a2ef1be710f7424ff7 ASoC: mmp-sspa: Remove the embedded struct ssp_device
:::::: TO: Lubomir Rintel <lkundrak@v3.sk>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-03-28 2:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202603280937.IGUTLytF-lkp@intel.com \
--to=lkp@intel.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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 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.