From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH] PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus() Date: Fri, 30 Oct 2015 13:59:16 -0700 Message-ID: <20151030205916.GF19782@codeaurora.org> References: <20151030120450.GH7289@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:47103 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbbJ3U7S (ORCPT ); Fri, 30 Oct 2015 16:59:18 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Viresh Kumar Cc: Rafael Wysocki , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Dan Carpenter , Bartlomiej Zolnierkiewicz , Greg Kroah-Hartman , Len Brown , open list , Pavel Machek On 10/30, Viresh Kumar wrote: > We are returning 0 even in case of errors, fix it. > > Fixes: 8d4d4e98acd6 ("PM / OPP: Add helpers for initializing CPU OPPs") > Reported-by: Dan Carpenter > Signed-off-by: Viresh Kumar > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project