[PATCH v2 1/5] powerpc/cell: drop unused iic_get_irq_host()

Daniel Axtens dja at axtens.net
Fri Sep 9 10:43:33 AEST 2016


Hi Arnd,

> I'm currently experimenting with a patch that adds -Wmissing-declaration to
> the normal kernel CFLAGS for everyone, and fixing up the warnings I get with
> that on ARM.
>
> Are you looking at all the powerpc specific code? If we can catch all the
> existing warnings for some of the major architectures, we can hopefully
> enable this in the mainline kernel at some point so we don't need sparse
> for it any more.

At the moment I'm just trying to squash sparse warnings on powerpc. This
particular catch came from making something static via a dodgy python
script and then Andrew finding it was EXPORTed. Removing the EXPORT
threw the warning - so it's a bit more complex than just a sparse
warning.

I think powerpc has the missing prototype warnings enabled and -Werror
as well.

Andrew Donellan was telling me there's a Coccinelle script that looks
for things that are both static and EXPORTed - maybe that's worth
following up on this point?

Regards,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160909/8e619c71/attachment.sig>


More information about the Linuxppc-dev mailing list