aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2022-03-12 11:27:05 +0100
committerGreg Kroah-Hartman <[email protected]>2022-03-15 15:24:36 +0100
commitbeb8518e26625a0ab06782519b1d0da429542b22 (patch)
treeb765011a10befe485d9f39b7c9007e15f74b7285 /tools/perf/scripts/python
parent32d8bb3ed80b6b8eda50d75ae2475e2e9b6113d2 (diff)
usb: raw-gadget: use kzalloc
Use kzalloc instead of kmalloc + memset. The semantic patch that makes this change is: (https://coccinelle.gitlabpages.inria.fr/website/) //<smpl> @@ expression res, size, flag; @@ - res = kmalloc(size, flag); + res = kzalloc(size, flag); ... - memset(res, 0, size); //</smpl> Signed-off-by: Julia Lawall <[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')
0 files changed, 0 insertions, 0 deletions