diff options
| author | anish kumar <anish198519851985@gmail.com> | 2011-05-19 19:28:51 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-20 02:34:32 +0400 |
| commit | 617a0c7177195a5cef6f0c2e559ee05b5d4191dd (patch) | |
| tree | d3aadef8133ad078da5a770b9f13bc81bf5ee643 /tools/perf/scripts/python | |
| parent | 1639c8ab4857f18f59222141777c8db931071785 (diff) | |
| download | linux-617a0c7177195a5cef6f0c2e559ee05b5d4191dd.tar.xz | |
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 <anish198519851985@gmail.com>
Acked-by: Harry Wei <harryxiyou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
