aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm.h
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2011-03-23 15:14:09 +0000
committerDave Airlie <airlied@redhat.com>2011-03-24 20:24:49 +1000
commit1783e4bf6f4e5c3b13c09aff24da7dcc69fb3e2f (patch)
tree8847ef1145d3a766e15fc8d4b5918b09eed60196 /include/drm/drm.h
parentfafcf94e2b5732d1e13b440291c53115d2b172e9 (diff)
downloadkernel_samsung_smdk4412-1783e4bf6f4e5c3b13c09aff24da7dcc69fb3e2f.zip
kernel_samsung_smdk4412-1783e4bf6f4e5c3b13c09aff24da7dcc69fb3e2f.tar.gz
kernel_samsung_smdk4412-1783e4bf6f4e5c3b13c09aff24da7dcc69fb3e2f.tar.bz2
drm radeon: Return -EINVAL on wrong pm sysfs access
Throw an error if someone tries to fill this with wrong data, instead of simply ignoring the input. Now you get: echo hello >/sys/../power_method -bash: echo: write error: Invalid argument Signed-off-by: Thomas Renninger <trenn@suse.de> CC: Alexander.Deucher@amd.com CC: dri-devel@lists.freedesktop.org Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm.h')
0 files changed, 0 insertions, 0 deletions