linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 4894/6048] sound/soc/soc-topology-test.c:128:25: sparse: sparse: incorrect type in initializer (different base types)
@ 2021-02-02 12:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-02 12:48 UTC (permalink / raw)
  To: Amadeusz Sławiński
  Cc: kbuild-all, Linux Memory Management List, Mark Brown

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-02 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 12:48 [linux-next:master 4894/6048] sound/soc/soc-topology-test.c:128:25: sparse: sparse: incorrect type in initializer (different base types) 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