diff options
| author | Zheng Yongjun <[email protected]> | 2020-12-30 09:37:06 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-05 15:26:43 +0100 |
| commit | 6500966d211c4a265600b4561d9c479088fce0a1 (patch) | |
| tree | abe9c6cd090cd71def3d93f36df3d57723c3457e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 1f82c33205db389007d2dd44ffdc124a24b9108f (diff) | |
staging: greybus: light: Use kzalloc for allocating only one thing
Use kzalloc rather than kcalloc(1,...)
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
@@
- kcalloc(1,
+ kzalloc(
...)
// </smpl>
Reviewed-by: Alex Elder <[email protected]>
Reviewed-by: Rui Miguel Silva <[email protected]>
Signed-off-by: Zheng Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions