aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Meyer <[email protected]>2011-11-17 12:43:40 +0000
committerDavid S. Miller <[email protected]>2011-11-22 15:58:38 -0500
commitc796984f2f1c528ac21220808525440d49413f8c (patch)
treef72a1135540824d4418201963371438c23b080dd /tools/perf/scripts/python
parent26bff940dd975499c6c47438d4395d7d215911e8 (diff)
CDC NCM: Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate Note in particular that there are no ...s in the rule, so all of the matched code has to be contiguous The semantic patch that makes this change is available in scripts/coccinelle/api/alloc/kzalloc-simple.cocci. Signed-off-by: Thomas Meyer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions