diff options
| author | 2021-12-16 10:59:29 -0500 | |
|---|---|---|
| committer | 2022-03-02 18:40:05 -0500 | |
| commit | 38abd56bed580c98e4284a578380f5f70634a0fd (patch) | |
| tree | 99ee5a849ab2eb9b133870dc0d83c978b254afd5 /include/uapi/linux | |
| parent | Revert "drm/amdkfd: process_info lock not needed for svm" (diff) | |
| download | linux-dev-38abd56bed580c98e4284a578380f5f70634a0fd.tar.xz linux-dev-38abd56bed580c98e4284a578380f5f70634a0fd.zip | |
drm/amdkfd: Correct SMI event read size
sizeof(buf) is 8 bytes because it is defined as unsigned char *buf,
each SMI event read only copy max 8 bytes to user buffer. Correct this
by using the buf allocate size.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
