From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933749AbcECAoD (ORCPT ); Mon, 2 May 2016 20:44:03 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47113 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933406AbcECAn7 (ORCPT ); Mon, 2 May 2016 20:43:59 -0400 Date: Mon, 2 May 2016 17:43:57 -0700 From: Stephen Boyd To: Viresh Kumar Cc: Rafael Wysocki , Viresh Kumar , Nishanth Menon , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, arnd.bergmann@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 2/7] PM / OPP: Mark cpumask as const in dev_pm_opp_set_sharing_cpus() Message-ID: <20160503004357.GK3492@codeaurora.org> References: <9a4fef0ecf8329541140de9bb6ccb393b2ec21db.1461727086.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9a4fef0ecf8329541140de9bb6ccb393b2ec21db.1461727086.git.viresh.kumar@linaro.org> 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 04/27, Viresh Kumar wrote: > dev_pm_opp_set_sharing_cpus() isn't supposed to update the cpumask > passed as its parameter, and so it should always have been marked > 'const'. > > Do it now. > > Signed-off-by: Viresh Kumar > --- Reviewed-by: Stephen Boyd I'm ignoring cpumask_var_t usage. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project