i915: switch copy_perf_config_registers_or_number() to unsafe_put_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Apr 2020 18:29:05 +0000 (14:29 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 2 May 2020 00:35:07 +0000 (20:35 -0400)
commit502f78c8d784eabc0f75c6372f61ca796c8af707
treef6d1f203368cd7762c696f82a2dc4f539f9667cb
parent516431ae669bf4e8d6e6ce5e5347e9f9739b0947
i915: switch copy_perf_config_registers_or_number() to unsafe_put_user()

... and the rest of query_perf_config_data() to normal uaccess primitives

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/gpu/drm/i915/i915_query.c
drivers/gpu/drm/i915/i915_reg.h