[RFC][WAS:bcmai][PATCH V2] axi: add AXI bus driver

Rafał Miłecki zajec5 at gmail.com
Fri Apr 8 19:46:29 EDT 2011


2011/4/9 Greg KH <greg at kroah.com>:
>> +static void axi_release_core_dev(struct device *dev)
>> +{
>> +     kfree(dev);
>> +}
>
> This is wrong, unless you are really only creating a 'struct device'.
> Why are you doing that instead of embedding struct device in your
> structure?

Hm, I think Greg found explanation why we can not reload axi driver
successfully :)

I'll take care of your comment after weekend, thank you everybody.

-- 
Rafał



More information about the linux-arm-kernel mailing list