Re: [PATCH] spmi: pmic-arb: u8 <= 0xff is always true

From: Bjorn Andersson
Date: Fri Aug 28 2015 - 18:34:44 EST


On Fri 28 Aug 12:31 PDT 2015, Stephen Boyd wrote:

> Silences this static checker warning:
>
> drivers/spmi/spmi-pmic-arb.c:363
> pmic_arb_write_cmd() warn: always true condition
> '(opc <= 255) => (0-255 <= 255)'
>
> Cc: Andy Gross <agross@xxxxxxxxxxxxxx>
Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxx>

Regards,
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/