Re: [PATCH 08/14] Input: adxl34x - fix gcc-7 -Wint-in-bool-context warning
From: Linus Torvalds
Date: Fri Jul 14 2017 - 15:24:54 EST
On Fri, Jul 14, 2017 at 2:25 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> FIFO_MODE is an macro expression with a '<<' operator, which
> gcc points out could be misread as a '<':
Yeah, no, NAK again.
We don't make the code look worse just because gcc is being a f*cking
moron about things.
This warning is clearly pure garbage.
Linus