From: kernel test robot <lkp@intel.com>
To: "Amadeusz Sławiński" <amadeuszx.slawinski@linux.intel.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Mark Brown <broonie@kernel.org>
Subject: [linux-next:master 4894/6048] sound/soc/soc-topology-test.c:128:25: sparse: sparse: incorrect type in initializer (different base types)
Date: Tue, 2 Feb 2021 20:48:08 +0800 [thread overview]
Message-ID: <202102022003.q60Abflg-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5467 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 59fa6a163ffabc1bf25c5e0e33899e268a96d3cc
commit: cec9128dfcf9101f903470e43d46278e5b07ef24 [4894/6048] ASoC: topology: KUnit: Add KUnit tests passing empty topology with variants to snd_soc_tplg_component_load
config: ia64-randconfig-s032-20210202 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-215-g0fb77bb6-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cec9128dfcf9101f903470e43d46278e5b07ef24
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout cec9128dfcf9101f903470e43d46278e5b07ef24
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
sound/soc/soc-topology-test.c:124:26: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] magic @@ got int @@
sound/soc/soc-topology-test.c:124:26: sparse: expected restricted __le32 [usertype] magic
sound/soc/soc-topology-test.c:124:26: sparse: got int
sound/soc/soc-topology-test.c:125:24: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] abi @@ got int @@
sound/soc/soc-topology-test.c:125:24: sparse: expected restricted __le32 [usertype] abi
sound/soc/soc-topology-test.c:125:24: sparse: got int
sound/soc/soc-topology-test.c:127:25: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] type @@ got int @@
sound/soc/soc-topology-test.c:127:25: sparse: expected restricted __le32 [usertype] type
sound/soc/soc-topology-test.c:127:25: sparse: got int
>> sound/soc/soc-topology-test.c:128:25: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] size @@ got unsigned long @@
sound/soc/soc-topology-test.c:128:25: sparse: expected restricted __le32 [usertype] size
sound/soc/soc-topology-test.c:128:25: sparse: got unsigned long
>> sound/soc/soc-topology-test.c:130:33: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] payload_size @@ got unsigned long @@
sound/soc/soc-topology-test.c:130:33: sparse: expected restricted __le32 [usertype] payload_size
sound/soc/soc-topology-test.c:130:33: sparse: got unsigned long
sound/soc/soc-topology-test.c:132:26: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] count @@ got int @@
sound/soc/soc-topology-test.c:132:26: sparse: expected restricted __le32 [usertype] count
sound/soc/soc-topology-test.c:132:26: sparse: got int
sound/soc/soc-topology-test.c:136:25: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] size @@ got unsigned long @@
sound/soc/soc-topology-test.c:136:25: sparse: expected restricted __le32 [usertype] size
sound/soc/soc-topology-test.c:136:25: sparse: got unsigned long
sound/soc/soc-topology-test.c:390:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] magic @@ got int @@
sound/soc/soc-topology-test.c:390:28: sparse: expected restricted __le32 [usertype] magic
sound/soc/soc-topology-test.c:390:28: sparse: got int
sound/soc/soc-topology-test.c:446:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] abi @@ got int @@
sound/soc/soc-topology-test.c:446:26: sparse: expected restricted __le32 [usertype] abi
sound/soc/soc-topology-test.c:446:26: sparse: got int
>> sound/soc/soc-topology-test.c:502:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] size @@ got unsigned long @@
sound/soc/soc-topology-test.c:502:27: sparse: expected restricted __le32 [usertype] size
sound/soc/soc-topology-test.c:502:27: sparse: got unsigned long
vim +128 sound/soc/soc-topology-test.c
121
122 static struct tplg_tmpl_001 tplg_tmpl_empty = {
123 .header = {
> 124 .magic = SND_SOC_TPLG_MAGIC,
> 125 .abi = 5,
126 .version = 0,
127 .type = SND_SOC_TPLG_TYPE_MANIFEST,
> 128 .size = sizeof(struct snd_soc_tplg_hdr),
129 .vendor_type = 0,
> 130 .payload_size = sizeof(struct snd_soc_tplg_manifest),
131 .index = 0,
132 .count = 1,
133 },
134
135 .manifest = {
> 136 .size = sizeof(struct snd_soc_tplg_manifest),
137 /* rest of fields is 0 */
138 },
139 };
140
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37178 bytes --]
reply other threads:[~2021-02-02 12:48 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=202102022003.q60Abflg-lkp@intel.com \
--to=lkp@intel.com \
--cc=amadeuszx.slawinski@linux.intel.com \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox