From: anish kumar Date: Thu, 19 May 2011 15:28:51 +0000 (+0530) Subject: Staging: sm7xx: preferred form for passing a size to memory allocation routines X-Git-Tag: v3.0-rc1~336^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=617a0c7177195a5cef6f0c2e559ee05b5d4191dd;p=pandora-kernel.git Staging: sm7xx: preferred form for passing a size to memory allocation routines The preferred form for passing a size of a struct is the following: p = kmalloc(sizeof(*p), ...); Please refer Documentation/Codingstyle chapter 14 Signed-off-by: anish kumar Acked-by: Harry Wei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed