Re: [asoc:for-5.5 122/122] sound/soc/codecs/tas2562.c:195:14: sparse: sparse: restricted snd_pcm_format_t degrades to integer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux