lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160205082845.GJ21792@vireshk>
Date:	Fri, 5 Feb 2016 13:58:45 +0530
From:	Viresh Kumar <viresh.kumar@...aro.org>
To:	"Rafael J. Wysocki" <rjw@...ysocki.net>
Cc:	Linux PM list <linux-pm@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
	Juri Lelli <juri.lelli@....com>,
	Steve Muckle <steve.muckle@...aro.org>,
	Saravana Kannan <skannan@...eaurora.org>
Subject: Re: [PATCH v2 7/10] cpufreq: governor: Drop the gov pointer from
 struct dbs_data

On 05-02-16, 03:19, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> 
> Since it is possible to obtain a pointer to struct dbs_governor
> from a pointer to the struct governor embedded in it with the help
> of container_of(), the additional gov pointer in struct dbs_data
> isn't really necessary.
> 
> Drop that pointer and make the code using it reach the dbs_governor
> object via policy->governor.
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> ---
>  drivers/cpufreq/amd_freq_sensitivity.c |    2 -
>  drivers/cpufreq/cpufreq_conservative.c |    2 -
>  drivers/cpufreq/cpufreq_governor.c     |   63 +++++++++++++++------------------
>  drivers/cpufreq/cpufreq_governor.h     |    8 +++-
>  drivers/cpufreq/cpufreq_ondemand.c     |    2 -
>  5 files changed, 39 insertions(+), 38 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@...aro.org>

-- 
viresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ