diff options
| author | Mohammad Shahid <mdshahid03@gmail.com> | 2026-07-04 20:16:54 +0530 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:39 +0900 |
| commit | 34d22551add7aa0d44d664d13cf106d66b67e9fa (patch) | |
| tree | a0d144decfa05f80a56f313e0adace77df99dbdb /tools/perf/scripts/python/bin | |
| parent | eec908b5c0d33961f1ed893d3aedf6d684870001 (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/bin')
0 files changed, 0 insertions, 0 deletions
