aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authoranish kumar <[email protected]>2011-05-19 20:58:51 +0530
committerGreg Kroah-Hartman <[email protected]>2011-05-19 15:34:32 -0700
commit617a0c7177195a5cef6f0c2e559ee05b5d4191dd (patch)
treed3aadef8133ad078da5a770b9f13bc81bf5ee643 /include/linux
parent1639c8ab4857f18f59222141777c8db931071785 (diff)
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 <[email protected]> Acked-by: Harry Wei <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions