Commit 9ca94161 authored by Michel Dänzer's avatar Michel Dänzer Committed by Dave Airlie

drm: radeon: add some debug output when getparam is called with unknown

Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 7a3f1f21
...@@ -2997,6 +2997,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS) ...@@ -2997,6 +2997,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS)
value = RADEON_CARD_PCI; value = RADEON_CARD_PCI;
break; break;
default: default:
DRM_DEBUG("Invalid parameter %d\n", param.param);
return DRM_ERR(EINVAL); return DRM_ERR(EINVAL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment