diff options
| author | Mohammad Shahid <mdshahid03@gmail.com> | 2026-07-04 16:40:57 +0530 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:38 +0900 |
| commit | eec908b5c0d33961f1ed893d3aedf6d684870001 (patch) | |
| tree | aa1d6ba5db19b97c02ddccb41abe3831625ca0e6 /tools/perf/scripts/python/bin | |
| parent | 5e150dc65d87bc533255408185dbdbc018058289 (diff) | |
ntfs: mft: 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
