commit | 41ee2ff404ec76194315aeed57ac973b010abe1d | [log] [tgz] |
---|---|---|
author | Johannes Weiner <hannes@saeurebad.de> | Fri Jun 13 15:04:40 2008 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Fri Jun 13 15:04:40 2008 +1000 |
tree | feeee7f1004e44e84bb418decc58f41847c938a1 | |
parent | 5dd34572ad9a3be430632dd42e4af2ea370b397b [diff] |
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 <airlied@redhat.com>