[PATCH 08/14] Input: adxl34x - fix gcc-7 -Wint-in-bool-context warning

Linus Torvalds torvalds at linux-foundation.org
Fri Jul 14 19:24:45 UTC 2017


On Fri, Jul 14, 2017 at 2:25 AM, Arnd Bergmann <arnd at arndb.de> 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


More information about the dri-devel mailing list