Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1215596

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

From Bjorn Andersson <bjorn.andersson@sonymobile.com>
Newsgroups linux.kernel
Subject Re: [PATCH] spmi: pmic-arb: u8 <= 0xff is always true
Date 2015-08-29 00:40 +0200
Message-ID <q2Ats-8kk-7@gated-at.bofh.it> (permalink)
References <q2xFg-4lL-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] spmi: pmic-arb: u8 <= 0xff is always true Stephen Boyd <sboyd@codeaurora.org> - 2015-08-28 21:40 +0200
  Re: [PATCH] spmi: pmic-arb: u8 <= 0xff is always true Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-08-29 00:40 +0200

csiph-web