On Saturday 14 May 2011 23:14:54 Sven Eckelmann wrote:
Documentation/CodingStyle recommends to use the form
p = kmalloc(sizeof(*p), ...);
to calculate the size of a struct and not the version where the struct name is spelled out to prevent bugs when the type of p changes. This also seems appropriate for manipulation of buffers when they are directly associated wi
Applied in revision 1929981.
Thanks, Marek