drm: dereference of tmp in drm_proc_create_files()
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 29 Aug 2009 20:20:34 +0000 (22:20 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 30 Aug 2009 23:09:29 +0000 (09:09 +1000)
commit1ae70072f0699916c1a77a9bacad958ee46f7395
treee6a0c1b23fa9d17b960b556e71524c3c198cfe07
parentff846ab7f76ffecba4f0bef026163d2a2364d7d0
drm: dereference of tmp in drm_proc_create_files()

tmp allocation may fail, prevent a dereference.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_proc.c