Re: [PATCH -next v2] drm/imagination: Use memdup_user() helper
From: Markus Elfring
Date: Mon Sep 02 2024 - 12:10:05 EST
> > Switching to memdup_user(), which combines kmalloc() and copy_from_user(),
> > and it can simplfy code.
>
> Applied, thanks!
>
> [1/1] drm/imagination: Use memdup_user() helper
> commit: 2872a57c7ad427d428c6d12e95e55b32bdc8e3b8
Do you find any previous contributions still similarly interesting?
Example:
[PATCH] drm/imagination: Use memdup_user() rather than duplicating its implementation
https://lore.kernel.org/r/c07221ed-8eaf-490e-9672-033b1cfe7b6e@xxxxxx
https://lkml.org/lkml/2024/1/28/438
Regards,
Markus