On 28 March 2014 18:59, Joe Perches joe@perches.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..