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

Bjorn Andersson bjorn.andersson at sonymobile.com
Fri Aug 28 12:55:45 PDT 2015


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 at codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson at sonymobile.com>

Regards,
Bjorn



More information about the linux-arm-kernel mailing list