forked from Minki/linux
drm: radeon: add some debug output when getparam is called with unknown
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
7a3f1f216b
commit
9ca941615e
@ -2997,6 +2997,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS)
|
||||
value = RADEON_CARD_PCI;
|
||||
break;
|
||||
default:
|
||||
DRM_DEBUG("Invalid parameter %d\n", param.param);
|
||||
return DRM_ERR(EINVAL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user