[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170706065341.GE22780@codeaurora.org>
Date: Wed, 5 Jul 2017 23:53:41 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: Kiran Gunda <kgunda@...eaurora.org>
Cc: Abhijeet Dharmapurikar <adharmap@...eaurora.org>,
David Collins <collinsd@...eaurora.org>,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
Fenglin Wu <fenglinw@...eaurora.org>
Subject: Re: [PATCH V1 4/4] spmi: pmic-arb: Remove checking opc value not
less than 0
On 07/03, Kiran Gunda wrote:
> From: Fenglin Wu <fenglinw@...eaurora.org>
>
> The opc parameter in pmic_arb_write_cmd() function is defined with type
> u8 and it's always greater than or equal to 0. Checking that it's not
> less than 0 is redundant and it can cause a forbidden warning during
> compilation. Remove the check.
>
> Signed-off-by: Fenglin Wu <fenglinw@...eaurora.org>
> ---
Reviewed-by: Stephen Boyd <sboyd@...eaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists