diff options
author | Jiapeng Chong <[email protected]> | 2022-10-17 13:47:13 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <[email protected]> | 2022-12-12 14:19:23 -0800 |
commit | 37224a290853a69f7e8e8c2269c9caea6e2bcb4b (patch) | |
tree | 127eb878373e0daad8f5e433d196918c49da6a54 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | e9b3e5b8c65733f626a7ee919c4bc895b51d7bb2 (diff) |
Bluetooth: Use kzalloc instead of kmalloc/memset
Use kzalloc rather than duplicating its implementation, which makes code
simple and easy to understand.
./net/bluetooth/hci_conn.c:2038:6-13: WARNING: kzalloc should be used for cp, instead of kmalloc/memset.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2406
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions