diff options
author | Christian König <[email protected]> | 2017-03-24 14:32:50 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-03-30 14:44:00 -0400 |
commit | c7217b2af83e85dd6053ff13dc4ac2d24d85b97c (patch) | |
tree | a5db8b3bc50e930689008a35d57f34c0209db063 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcf32a2371017c5de92cf9d36c811dc26076898a (diff) |
drm/amdgpu: just disallow reading untouched registers
Not sure what the original intention was here, but returning a random piece of
kernel memory to userspace because we didn't set the value at all is clearly
not a good idea.
This patch disallows reading the register and returns
a proper error code instead.
Signed-off-by: Christian König <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Acked-by: Tom St Denis <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions