[PATCH v2 00/17] ASoC: Intel: AVS - Audio DSP for cAVS

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Mar 1 19:01:03 CET 2022


Sparse seems to have difficulties with your {0} initializations?

export ARCH=x86_64 CF="-Wsparse-error -Wsparse-all -Wno-bitwise-pointer
-Wno-pointer-arith -Wno-typesign -Wnoshadow"

make sound/soc/intel/avs/ C=2 -k
  GEN     Makefile
  CHECK   /data/pbossart/ktest/broonie-next/scripts/mod/empty.c
  CALL    /data/pbossart/ktest/broonie-next/scripts/checksyscalls.sh
  CALL    /data/pbossart/ktest/broonie-next/scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHECK   /data/pbossart/ktest/broonie-next/sound/soc/intel/avs/dsp.c
  CHECK   /data/pbossart/ktest/broonie-next/sound/soc/intel/avs/ipc.c
  CC [M]  sound/soc/intel/avs/messages.o
  CHECK   /data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:18:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:72:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:90:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:110:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:127:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:145:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:146:37:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:225:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:255:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:289:39:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:381:37:
error: missing braces around initializer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/messages.c:452:39:
error: missing braces around initializer
make[4]: ***
[/data/pbossart/ktest/broonie-next/scripts/Makefile.build:289:
sound/soc/intel/avs/messages.o] Error 1
make[4]: *** Deleting file 'sound/soc/intel/avs/messages.o'
  CC [M]  sound/soc/intel/avs/utils.o
  CHECK   /data/pbossart/ktest/broonie-next/sound/soc/intel/avs/utils.c
  CC [M]  sound/soc/intel/avs/core.o
  CHECK   /data/pbossart/ktest/broonie-next/sound/soc/intel/avs/core.c
  CC [M]  sound/soc/intel/avs/loader.o
  CHECK   /data/pbossart/ktest/broonie-next/sound/soc/intel/avs/loader.c
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/loader.c:339:47:
error: Using plain integer as NULL pointer
/data/pbossart/ktest/broonie-next/sound/soc/intel/avs/loader.c:405:47:
error: Using plain integer as NULL pointer



More information about the Alsa-devel mailing list