diff options
| author | Moti Haimovski <[email protected]> | 2020-08-19 14:40:33 +0000 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2020-08-31 12:10:27 +0000 |
| commit | 6396feabf7a4104a4ddfecc00b8aac535c631a66 (patch) | |
| tree | db334ddac88a5e85ebdc9d9737274f87373fd00d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 5.9-rc3 (diff) | |
| download | kernel-6396feabf7a4104a4ddfecc00b8aac535c631a66.tar.gz kernel-6396feabf7a4104a4ddfecc00b8aac535c631a66.zip | |
habanalabs: prevent user buff overflow
This commit fixes a potential debugfs issue that may occur when
reading the clock gating mask into the user buffer since the
user buffer size was not taken into consideration.
Signed-off-by: Moti Haimovski <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
