From: Johannes Weiner Date: Fri, 13 Jun 2008 05:04:40 +0000 (+1000) Subject: drm: use drms ioctl cmd not what we get passed from userspace. X-Git-Tag: v2.6.26-rc7~4^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ee2ff404ec76194315aeed57ac973b010abe1d;p=pandora-kernel.git drm: use drms ioctl cmd not what we get passed from userspace. This enforces us to use the drm ioctl types so read/write works correctly and not believe what userspace tells us. It does this hopefully without breaking the drm api. Fixes bug from thread: BUG: unable to handle kernel NULL pointer dereference (drm_getunique) Signed-off-by: Dave Airlie --- Reading git-diff-tree failed