Thread (4 messages) 4 messages, 2 authors, 2014-04-25

Re: [PATCH v4 2/8] cpufreq: Use cpufreq_for_each_* macros for frequency table iteration

From: Stratos Karafotis <hidden>
Date: 2014-04-25 15:11:30
Also in: linux-arm-kernel, linux-pm, linux-samsung-soc, lkml

Hi Prabhakar,

On 25/04/2014 03:31 μμ, Prabhakar Lad wrote:
Hi Stratos,

Thanks for the patch.

On Tue, Apr 22, 2014 at 4:30 AM, Stratos Karafotis
[off-list ref] wrote:
quoted
The cpufreq core now supports the cpufreq_for_each_entry and
cpufreq_for_each_valid_entry macros helpers for iteration over the
cpufreq_frequency_table, so use them.

It should have no functional changes.
This patch produces following build warning,

drivers/cpufreq/freq_table.c: In function 'cpufreq_frequency_table_cpuinfo':
drivers/cpufreq/freq_table.c:36:3: warning: format '%lu' expects
argument of type 'long unsigned int', but argument 2 has type 'int'
[-Wformat=]
   pr_debug("table entry %lu: %u kHz\n", pos - table, freq);
Thanks for this finding.
I will fix it and resend the patch.


Stratos Karafotis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help