[PATCH 1/1] drm/xe/eustall: Use copy_from_user() instead of __copy_from_user()

Kees Cook kees at kernel.org
Wed Apr 30 18:51:18 UTC 2025


On Tue, Apr 29, 2025 at 10:11:11PM -0700, Harish Chegondi wrote:
> copy_from_user() has more checks and is more safer than
> __copy_from_user()
> 
> Fixes: 1537ec85ebd7 ("drm/xe/uapi: Introduce API for EU stall sampling")
> Signed-off-by: Harish Chegondi <harish.chegondi at intel.com>

Thanks!

Reviewed-by: Kees Cook <kees at kernel.org>

-- 
Kees Cook


More information about the Intel-xe mailing list