summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorMohammad Shahid <mdshahid03@gmail.com>2026-07-05 16:32:21 +0530
committerInki Dae <inki.dae@samsung.com>2026-09-28 21:43:48 +0900
commit7bf22a6c0ecbf369aa8687ef16a027d7ce4a4546 (patch)
treef1b5350ff6eaee7995073293b09a96ccc4145a70 /rust/kernel/alloc/allocator
parentf901c9b986b6355716822d5c6ad34ae5edd71085 (diff)
downloadlinux-next-7bf22a6c0ecbf369aa8687ef16a027d7ce4a4546.tar.gz
linux-next-7bf22a6c0ecbf369aa8687ef16a027d7ce4a4546.zip
drm/exynos: vidi: use memdup_user() instead of kmalloc() and copy_from_user()
Use memdup_user() to replace the open-coded kmalloc() and copy_from_user() sequence. This simplifies the code while preserving the existing behavior. This issue was reported by memdup_user.cocci. Signed-off-by: Mohammad Shahid <mdshahid03@gmail.com> Included linux/string.h header file on top of exynos_drm_vidi.c Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions