mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
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:
parent
555b257c58
commit
5468d4a539
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue