|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH] cpufreq.c: shut up compiler about cpufreq_dom
I wrote:
> - struct cpufreq_dom *cpufreq_dom;
> + struct cpufreq_dom *cpufreq_dom = 0;
Thanks for applying that but it turns out that GCC only produces the
first such error ! Hopefully this will fix our automated builds ...
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Ian.
diff -r 6a8fea290af5 xen/drivers/cpufreq/cpufreq.c
--- a/xen/drivers/cpufreq/cpufreq.c Wed Oct 29 16:58:05 2008 +0000
+++ b/xen/drivers/cpufreq/cpufreq.c Wed Oct 29 17:50:16 2008 +0000
@@ -181,7 +181,7 @@ int cpufreq_del_cpu(unsigned int cpu)
{
unsigned int dom, domexist = 0;
struct list_head *pos;
- struct cpufreq_dom *cpufreq_dom;
+ struct cpufreq_dom *cpufreq_dom = NULL;
struct cpufreq_policy *policy;
struct processor_performance *perf = &processor_pminfo[cpu]->perf;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|