diff options
author | Joe Perches <[email protected]> | 2014-06-04 16:12:07 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-06-04 16:54:20 -0700 |
commit | 60a55369aad3336e604218abf2057363f69c0722 (patch) | |
tree | a0794f63296fdd7f0d087392e071894b7eed9bb1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f5ef95b12eb03ae4b3994cdb035612e127b630b9 (diff) |
checkpatch: add warning for kmalloc/kzalloc with multiply
Protect against sizeof overflows by preferring kmalloc_array/kcalloc over
kmalloc/kzalloc with a sizeof multiply.
Signed-off-by: Joe Perches <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions