Some debug output when the getparam ioctl is called with an unknown parameter.

This commit is contained in:
Michel Dänzer 2006-07-19 19:01:33 +02:00
parent b9243ce3d5
commit 7dea64677b

View file

@ -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);
}