From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932884AbbJ3U7T (ORCPT ); Fri, 30 Oct 2015 16:59:19 -0400 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 Date: Fri, 30 Oct 2015 13:59:16 -0700 From: Stephen Boyd 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 Subject: Re: [PATCH] PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus() Message-ID: <20151030205916.GF19782@codeaurora.org> References: <20151030120450.GH7289@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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