[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKohpo=TrJk1A1VYJEohEPH_OHOodq2HPoqDDi-fyhnbDfU4Ag@mail.gmail.com>
Date: Fri, 28 Mar 2014 19:02:52 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Joe Perches <joe@...ches.com>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
Lists linaro-kernel <linaro-kernel@...ts.linaro.org>,
"cpufreq@...r.kernel.org" <cpufreq@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>,
"ego@...ux.vnet.ibm.com" <ego@...ux.vnet.ibm.com>,
Vaidyanathan Srinivasan <svaidy@...ux.vnet.ibm.com>
Subject: Re: [PATCH] cpufreq: use kzalloc() to allocate memory for cpufreq_frequency_table
On 28 March 2014 18:59, Joe Perches <joe@...ches.com> wrote:
> There seems to be some sort of bug fix in the
> patch at the very end too?
I have mentioned that in the log:
Along with that we also remove use of .driver_data from SPEAr driver as it
doesn't use it at all. Also, writing zero to .driver_data is not required for
powernow-k8 as it is already zero.
> Perhaps a better fix would be to use kcalloc for
> all the allocs with a multiply.
That would make the change very big now as there are lots of drivers
which are already using kzalloc() and so wouldn't like to do that in this
patch atleast..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists