drm/xe: Remove usage of unsafe strcpy
authorNirmoy Das <nirmoy.das@intel.com>
Mon, 18 Mar 2024 09:10:55 +0000 (10:10 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 19 Mar 2024 08:59:59 +0000 (08:59 +0000)
commitf87cf2877b16313966a98110888540cdd4c5c051
tree27ea57aecd4b21341a9b29cb92c271a63bb95345
parent6d74e387aa1d7f62bdd6c7d1da6c3061450f3f55
drm/xe: Remove usage of unsafe strcpy

Remove usage of unsafe strcpy with a helper function
to convert engine class to string.

Cc: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240318091055.638-1-nirmoy.das@intel.com
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c