summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMohammad Shahid <mdshahid03@gmail.com>2026-07-04 20:16:54 +0530
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-19 18:16:39 +0900
commit34d22551add7aa0d44d664d13cf106d66b67e9fa (patch)
treea0d144decfa05f80a56f313e0adace77df99dbdb /tools/perf/scripts/python
parenteec908b5c0d33961f1ed893d3aedf6d684870001 (diff)
ntfs: dir: use kmemdup() instead of kmalloc() and memcpy()
Use kmemdup() instead of a separate kmalloc() and memcpy() pair, simplifying the code while preserving the existing behavior. This issue was reported by memdup.cocci. Signed-off-by: Mohammad Shahid <mdshahid03@gmail.com> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions