diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-08-07 06:31:30 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-21 15:32:30 -0400 |
commit | 9ca941615ee6418cd38c13602960f29c7ac7d973 (patch) | |
tree | 6340fb5032820937553be543bc80766965016ae8 /drivers/char/drm | |
parent | 7a3f1f216b92724ff822fe3122272b7fd6a58f8c (diff) |
drm: radeon: add some debug output when getparam is called with unknown
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/radeon_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c index 39a7f685e3fd..99589fe0032f 100644 --- a/drivers/char/drm/radeon_state.c +++ b/drivers/char/drm/radeon_state.c | |||
@@ -2997,6 +2997,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS) | |||
2997 | value = RADEON_CARD_PCI; | 2997 | value = RADEON_CARD_PCI; |
2998 | break; | 2998 | break; |
2999 | default: | 2999 | default: |
3000 | DRM_DEBUG("Invalid parameter %d\n", param.param); | ||
3000 | return DRM_ERR(EINVAL); | 3001 | return DRM_ERR(EINVAL); |
3001 | } | 3002 | } |
3002 | 3003 | ||