[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201509302313.wAQ6yuJF%fengguang.wu@intel.com>
Date: Wed, 30 Sep 2015 23:53:30 +0800
From: kbuild test robot <lkp@...el.com>
To: Damien Horsley <Damien.Horsley@...tec.com>
Cc: kbuild-all@...org, alsa-devel@...a-project.org,
Mark Rutland <mark.rutland@....com>,
devicetree@...r.kernel.org, Pawel Moll <pawel.moll@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>,
Takashi Iwai <tiwai@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Kumar Gala <galak@...eaurora.org>,
"Damien.Horsley" <Damien.Horsley@...tec.com>
Subject: Re: [alsa-devel] [PATCH 08/10] ASoC: img: Add driver for SPDIF input
controller
Hi Damien.Horsley,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> sound/soc/img/img-spdif-in.c:650:16: sparse: incorrect type in assignment (different base types)
sound/soc/img/img-spdif-in.c:650:16: expected unsigned int [unsigned] format
sound/soc/img/img-spdif-in.c:650:16: got restricted snd_pcm_format_t
>> sound/soc/img/img-spdif-in.c:652:23: sparse: restricted snd_pcm_format_t degrades to integer
vim +650 sound/soc/img/img-spdif-in.c
644 {
645 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai);
646 unsigned int rate, channels, format;
647
648 rate = params_rate(params);
649 channels = params_channels(params);
> 650 format = params_format(params);
651
> 652 if (format != SNDRV_PCM_FORMAT_S32_LE)
653 return -EINVAL;
654
655 if (channels != 2)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists