On Mon, Jun 3, 2013 at 11:27 PM, Wolfram Sang <[email protected]> wrote: > The allocated object should be the size of what the pointer is pointing > to and not the size of the pointer itself.
All devm_* functions in this module use **ptr as a parameter (except allocation). May be we first should understand why it so? If it wrong approach, than probably you have to change **ptr -> *ptr. But without answer on first question I don't know if it proper solution or not. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

