Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753214AbbH1Wem (ORCPT ); Fri, 28 Aug 2015 18:34:42 -0400 Received: from seldrel01.sonyericsson.com ([37.139.156.2]:6888 "EHLO seldrel01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753185AbbH1Wek (ORCPT ); Fri, 28 Aug 2015 18:34:40 -0400 Date: Fri, 28 Aug 2015 12:55:45 -0700 From: Bjorn Andersson To: Stephen Boyd CC: Greg Kroah-Hartman , , , , Andy Gross Subject: Re: [PATCH] spmi: pmic-arb: u8 <= 0xff is always true Message-ID: <20150828195545.GT13472@usrtlx11787.corpusers.net> References: <1440790270-14859-1-git-send-email-sboyd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1440790270-14859-1-git-send-email-sboyd@codeaurora.org> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 585 Lines: 18 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 Reviewed-by: Bjorn Andersson 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/