Skip to content

Commit

Permalink
SWDEV-238077
Browse files Browse the repository at this point in the history
drm/amdkfd: Reduce debugger message level to debug

The ioctl is expected to return an error sometimes to the debugger, so
this message can be confusing if the user isn't aware.  So we will print
this message at debug level.

Reviewed-by: Felix Kuehling <[email protected]>
Acked-by: Rajneesh Bhardwaj <[email protected]>
Change-Id: Ida2dd4f0439a68d31535d4a308efa043bb23d4cd
Signed-off-by: Philip Cox <[email protected]>
  • Loading branch information
mrphilcox committed Jun 16, 2020
1 parent 6117bb2 commit d8f0cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,7 @@ static int kfd_ioctl_dbg_set_debug_trap(struct file *filep,

pid = find_get_pid(args->pid);
if (!pid) {
pr_err("Cannot find pid info for %i\n",
pr_debug("Cannot find pid info for %i\n",
args->pid);
r = -ESRCH;
goto out;
Expand Down

0 comments on commit d8f0cd0

Please sign in to comment.