Some debug output when the getparam ioctl is called with an unknown parameter.
parent
b9243ce3d5
commit
7dea64677b
|
@ -3035,6 +3035,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