Re: Look Ma, da kernel is b0rken
From: Borislav Petkov
Date: Wed Dec 05 2012 - 10:31:16 EST
On Wed, Dec 05, 2012 at 03:27:56PM +0000, Alan Cox wrote:
> On Wed, 5 Dec 2012 15:29:35 +0100
> Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> > On Wed, Dec 05, 2012 at 08:09:01AM +0100, Andreas Mohr wrote:
> > > Hi,
> > >
> > > drivers/pnp/pnpacpi/core.c: In function 'ispnpidacpi':
> > > drivers/pnp/pnpacpi/core.c:65:2: warning: logical 'or' of collectively
> > > exhaustive tests is always true [-Wlogical-op]
> > > drivers/pnp/pnpacpi/core.c:66:2: warning: logical 'or' of collectively
> > > exhaustive tests is always true [-Wlogical-op]
> > > drivers/pnp/pnpacpi/core.c:67:2: warning: logical 'or' of collectively
> > > exhaustive tests is always true [-Wlogical-op]
> > >
> > >
> > > That's already the second less enticing -Wlogical-op issue
> > > which was discovered by accident during less than two days
>
> No it's not. It's been reported in bugzilla. I sent patches ages ago.
> They were ignored. Coverity has had it tagged for years (and a ton more
> of them you've not noticed yet)
>
> http://article.gmane.org/gmane.linux.acpi.devel/56753/match=test_alpha
>
> This isn't discovered, this is in the "If you stick your fingers in your
> ears and hum you can't hear the screaming" category.
Hillarious!
Andrew, would you please pick up Alan's patch? It clearly fixes an
ancient bug in the pnpacpi code.
Thanks.
--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/