Re: [PATCH v5 2/2] i2c: add support for Socionext SynQuacer I2C controller

From: Wolfram Sang
Date: Sat Mar 24 2018 - 19:25:37 EST


My code checkers mention this:

CPPCHECK
drivers/i2c/busses/i2c-synquacer.c:422: style: Checking if unsigned variable 'timeout' is less than zero.


CC drivers/i2c/busses/i2c-synquacer.o
drivers/i2c/busses/i2c-synquacer.c: In function âsynquacer_i2c_probeâ:
drivers/i2c/busses/i2c-synquacer.c:678:15: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (i2c->irq < 0) {
^

Attachment: signature.asc
Description: PGP signature