diff options
| author | Iulia Manda <iulia.manda21@gmail.com> | 2014-03-12 01:28:53 +0200 |
|---|---|---|
| committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2014-03-13 16:49:02 -0700 |
| commit | 56116b2b09092565d140c0e72596d67a29dcf89c (patch) | |
| tree | 9a12e9c69200e1347df282e03c9de08f5bd026b3 /include/Kbuild | |
| parent | 464a5028eadef63e4b84e834eaeb782b537bf513 (diff) | |
staging: unisys: visorutil: Use kzalloc instead of kmalloc with memset
Fix coccinelle warnings of better allocation by using kzalloc.
In these cases, kzalloc is preferred, as kmalloc may fail if it does not find
contiguous memory.
Signed-off-by: Iulia Manda <iulia.manda21@gmail.com>
Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions
