Commit 43c48ad2 authored by Zhang Zekun's avatar Zhang Zekun Committed by Greg Kroah-Hartman
Browse files

Revert "drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()"



This reverts commit 17f5f180.

The origin mainline patch fix a buffer overflow issue in
amdgpu_debugfs_gprwave_read(), but it has not been introduced in kernel
6.1 and older kernels. This patch add a check in a wrong function in the
same file.

Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f5e45e94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment