lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 26 Feb 2018 09:36:42 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Sebastian Reichel <sebastian.reichel@...labora.co.uk>
Cc:     kbuild-all@...org, Sebastian Reichel <sre@...nel.org>,
        Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>,
        Rob Herring <robh+dt@...nel.org>,
        Tony Lindgren <tony@...mide.com>,
        Lee Jones <lee.jones@...aro.org>, devicetree@...r.kernel.org,
        alsa-devel@...a-project.org, kernel@...labora.com,
        Takashi Iwai <tiwai@...e.com>, linux-kernel@...r.kernel.org,
        Sebastian Reichel <sebastian.reichel@...labora.co.uk>,
        linux-omap@...r.kernel.org
Subject: Re: [alsa-devel] [PATCHv5 2/5] ASoC: codec: cpcap: new codec

Hi Sebastian,

I love your patch! Perhaps something to improve:

[auto build test WARNING on robh/for-next]
[also build test WARNING on v4.16-rc2 next-20180223]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Sebastian-Reichel/Motorola-Droid-4-Audio-Support/20180226-063007
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
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/codecs/cpcap.c:1406:54: sparse: restricted snd_pcm_format_t degrades to integer

vim +1406 sound/soc/codecs/cpcap.c

  1396	
  1397	static struct snd_soc_dai_driver cpcap_dai[] = {
  1398	{
  1399		.id = 0,
  1400		.name = "cpcap-hifi",
  1401		.playback = {
  1402			.stream_name = "HiFi Playback",
  1403			.channels_min = 2,
  1404			.channels_max = 2,
  1405			.rates = SNDRV_PCM_RATE_8000_48000,
> 1406			.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FORMAT_S24_LE,
  1407		},
  1408		.ops = &cpcap_dai_hifi_ops,
  1409	},
  1410	{
  1411		.id = 1,
  1412		.name = "cpcap-voice",
  1413		.playback = {
  1414			.stream_name = "Voice Playback",
  1415			.channels_min = 1,
  1416			.channels_max = 1,
  1417			.rates = SNDRV_PCM_RATE_8000_48000,
  1418			.formats = SNDRV_PCM_FMTBIT_S16_LE,
  1419		},
  1420		.capture = {
  1421			.stream_name = "Voice Capture",
  1422			.channels_min = 1,
  1423			.channels_max = 2,
  1424			.rates = SNDRV_PCM_RATE_8000_48000,
  1425			.formats = SNDRV_PCM_FMTBIT_S16_LE,
  1426		},
  1427		.ops = &cpcap_dai_voice_ops,
  1428	},
  1429	};
  1430	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ