[alsa-devel] [PATCH 0/2] ASoC: fix warnings in Intel boards and topology

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Jan 2 20:59:50 CET 2020


Sparse reports a number of straightforward issues, fix.

I still see a small number of issues but I can't figure out why big-
and little-endian parts were mixed - this looks buggy at best:

sound/soc/soc-ops.c:650:33: warning: invalid assignment: &=
sound/soc/soc-ops.c:650:33: left side has type unsigned short
sound/soc/soc-ops.c:650:33: right side has type restricted __be16
sound/soc/soc-ops.c:654:33: warning: invalid assignment: &=
sound/soc/soc-ops.c:654:33: left side has type unsigned int
sound/soc/soc-ops.c:654:33: right side has type restricted __be32
sound/soc/soc-topology.c:2546:16: warning: restricted __le32 degrades to integer

Pierre-Louis Bossart (2):
  ASoC: Intel: boards: hda_dsp_common: use NULL pointer assignment, not
    0
  ASoC: soc-topology: fix endianness issues

 sound/soc/intel/boards/hda_dsp_common.c |  2 +-
 sound/soc/soc-topology.c                | 42 +++++++++++++------------
 2 files changed, 23 insertions(+), 21 deletions(-)

-- 
2.20.1



More information about the Alsa-devel mailing list