From: Michel Dänzer Date: Mon, 7 Aug 2006 10:31:30 +0000 (+1000) Subject: drm: radeon: add some debug output when getparam is called with unknown X-Git-Tag: v2.6.19-rc1~641^2~31 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9ca941615ee6418cd38c13602960f29c7ac7d973;p=linux-2.6-omap-h63xx.git drm: radeon: add some debug output when getparam is called with unknown Signed-off-by: Dave Airlie --- diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c index 39a7f685e3f..99589fe0032 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); }