1. 20 Oct, 2017 3 commits
  2. 10 Oct, 2017 1 commit
  3. 29 Sep, 2017 8 commits
  4. 26 Sep, 2017 4 commits
  5. 22 Sep, 2017 1 commit
  6. 21 Sep, 2017 3 commits
  7. 20 Sep, 2017 1 commit
    • Arnd Bergmann's avatar
      Input: adxl34x - do not treat FIFO_MODE() as boolean · 1dbc080c
      Arnd Bergmann authored
      FIFO_MODE() is a macro expression with a '<<' operator, which gcc points
      out could be misread as a '<':
      
      drivers/input/misc/adxl34x.c: In function 'adxl34x_probe':
      drivers/input/misc/adxl34x.c:799:36: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context]
      
      While utility of this warning is being disputed (Chief Penguin: "This
      warning is clearly pure garbage.") FIFO_MODE() extracts range of values,
      with 0 being FIFO_BYPASS, and not something that is logically boolean.
      
      This converts the test to an explicit comparison with FIFO_BYPASS,
      making it clearer to gcc and the reader what is intended.
      
      Fixes: e27c7292 ("Input: add driver for ADXL345/346 Digital Accelerometers")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      1dbc080c
  8. 15 Sep, 2017 1 commit
  9. 12 Sep, 2017 1 commit
  10. 11 Sep, 2017 5 commits
  11. 04 Sep, 2017 3 commits
  12. 03 Sep, 2017 5 commits
  13. 02 Sep, 2017 2 commits
  14. 01 Sep, 2017 2 commits