lkml.org 
[lkml]   [2017]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 08/14] Input: adxl34x - fix gcc-7 -Wint-in-bool-context warning
    On Fri, Jul 14, 2017 at 2:25 AM, Arnd Bergmann <arnd@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

    \
     
     \ /
      Last update: 2017-07-14 21:25    [W:2.270 / U:0.204 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site