Skip to content
Commit dad07ca7 authored by Andres Salomon's avatar Andres Salomon Committed by Dave Airlie
Browse files

drm: check return values in drm_version



In drm_version, actually check the results from function calls so that
we're not potentially passing garbage back to userspace.

Signed-off-by: default avatarAndres Salomon <dilinger@collabora.co.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 140a45fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment