commit | 818b032433a345b2f5466660ae054806343263e5 | [log] [tgz] |
---|---|---|
author | Mukul Joshi <mukul.joshi@amd.com> | Tue Aug 18 14:51:41 2020 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Aug 24 12:22:32 2020 -0400 |
tree | 4cb51d472af01b54d90524aabe35c83e1ec082fb | |
parent | 37d0474542850e6bb70b226487b4202d21bfe7cc [diff] |
drm/amdkfd: sparse: Fix warning in reading SDMA counters Add __user annotation to fix related sparse warning while reading SDMA counters from userland. Also, rework the read SDMA counters function by removing redundant checks. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>