diff options
| author | Philip Yang <[email protected]> | 2021-12-16 10:59:29 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-03-02 18:40:05 -0500 |
| commit | 38abd56bed580c98e4284a578380f5f70634a0fd (patch) | |
| tree | 99ee5a849ab2eb9b133870dc0d83c978b254afd5 /scripts/gdb/linux/genpd.py | |
| parent | e433d6843310a259f0be18c80de26d75b9f7fd35 (diff) | |
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions