search for: cpufreq_dom_found

Displaying 1 result from an estimated 1 matches for "cpufreq_dom_found".

2008 Oct 29
4
[PATCH] cpufreq.c: shut up compiler about cpufreq_dom
...too stupid to figure out that cpufreq_dom is only used if !!domexist and always set in that case, and complain that it may be used uninitialised. (In general it is IMO better to avoid these kind of flag variables; I would prefer structures like for (...) { cpufreq_dom = dom; if (...) goto cpufreq_dom_found; } cpufreq_dom = 0; cpufreq_dom_found: but on the other hand I don''t like purely stylistic changes.) Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> diff -r ae100f264f6a xen/drivers/cpufreq/cpufreq.c --- a/xen/drivers/cpufreq/cpufreq.c Wed Oct 29 13:09:37 2008 +0...