[alsa-devel] [kbuild-all] Re: [asoc:for-5.5 122/122] sound/soc/codecs/tas2562.c:195:14: sparse: sparse: restricted snd_pcm_format_t degrades to integer
Rong Chen
rong.a.chen at intel.com
Tue Oct 22 02:17:23 CEST 2019
On 10/22/19 3:19 AM, Mark Brown wrote:
> On Fri, Oct 11, 2019 at 07:13:38AM -0500, Dan Murphy wrote:
>> On 10/10/19 11:41 AM, kbuild test robot wrote:
>>> 190 static int tas2562_set_bitwidth(struct tas2562_data *tas2562, int bitwidth)
>> The only fix I can see here is to change bitwidth to snd_pcm_format_t as
>> But that still gives this sparse warning. The way the code below is
>> written to be consistent throughout the drivers so are these warnings false
>> positives?
> I think so, yes. Or at least I can't see any sensible way to stop this
> anyway.
>
Hi,
Sorry for the inconvenience, we'll take a look at it asap.
Best Regards,
Rong Chen
More information about the Alsa-devel
mailing list