plugin/amdgpu: fix pr_perror trailing newline

pr_perror already appends a newline; the explicit \n in the
format string violates the lint rule and breaks CI.

Fixes: 555b257c5e77 ("plugin/amdgpu: Catch error for failure to open drm device")
Signed-off-by: Ahmed Elaidy <elaidya225@gmail.com>
This commit is contained in:
Ahmed Elaidy 2026-03-03 01:22:32 +02:00 committed by Andrei Vagin
parent 555b257c58
commit 5468d4a539

View file

@ -1590,7 +1590,7 @@ static int restore_devices(struct kfd_ioctl_criu_args *args, CriuKfd *e)
drm_fd = node_get_drm_render_device(tp_node);
if (drm_fd < 0) {
pr_perror("Can't open drm render fd %d\n", tp_node->drm_render_minor);
pr_perror("Can't open drm render fd %d", tp_node->drm_render_minor);
goto exit;
} else {
pr_info("passing drm render fd = %d to driver\n", drm_fd);