[alsa-devel] [PATCH v3 07/14] ASoC: SOF: Add DSP firmware logger support

Mark Brown broonie at kernel.org
Tue Jan 22 22:08:32 CET 2019


On Tue, Jan 22, 2019 at 02:52:25PM -0600, Pierre-Louis Bossart wrote:

> > I don't understand that warning - avail and count are both size_t so
> > where's it deciding that there's a void involved?

> no idea really, I am only a user of sparse, I don't know how it generated
> that warning.

Yeah, I use it quite a bit as well.

> there are equally confusing ones such as

> include/linux/slab.h:332:43: warning: dubious: x & !y

> include/linux/slab.h:665:13: warning: call with no type!

> include/linux/slab.h:665:13: error: undefined identifier
> '__builtin_mul_overflow

> The main benefit of sparse is that it is the only tool that found endianess
> and iomem space issues, but it's often buried in heaps of false alarms in
> include files.

It's got less and less useful as time goes on I think :(  For this one
did you try reporting the bug to the authors?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190122/932e1293/attachment.sig>


More information about the Alsa-devel mailing list