On Sun, Sep 11, 2016 at 10:36 AM, Colin King <[email protected]> wrote:

> From: Colin Ian King <[email protected]>
>
> Macro regmap_update_bits can return a -ve on an error value so ret
> needs to be an integer rather than a bool type.
>
> Fixes warning found by static analysis with cppcheck:
> [drivers/pinctrl/aspeed/pinctrl-aspeed.c:192]: (warning) Comparison of
>   a boolean expression with an integer other than 0 or 1.
>
> Signed-off-by: Colin Ian King <[email protected]>

Dropping this but added your Reported-by to Arnds patch.

Yours,
Linus Walleij

Reply via email to