From 9ca941615ee6418cd38c13602960f29c7ac7d973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 7 Aug 2006 20:31:30 +1000 Subject: drm: radeon: add some debug output when getparam is called with unknown Signed-off-by: Dave Airlie --- drivers/char/drm/radeon_state.c | 1 + 1 file changed, 1 insertion(+) 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) value = RADEON_CARD_PCI; break; default: + DRM_DEBUG("Invalid parameter %d\n", param.param); return DRM_ERR(EINVAL); } -- cgit v1.2.2