diff options
| author | Christian König <christian.koenig@amd.com> | 2026-02-18 12:53:27 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-27 10:51:02 -0400 |
| commit | c08972f555945cda57b0adb72272a37910153390 (patch) | |
| tree | 44a0e39f5a99fcd078df5ee7aa53f2126c3765f8 /include/linux/debugobjects.h | |
| parent | 82502db448aa9eca2c8d8ee8b424f37aa9ce3ac0 (diff) | |
drm/amdgpu: fix amdgpu_hmm_range_get_pages
The notifier sequence must only be read once or otherwise we could work
with invalid pages.
While at it also fix the coding style, e.g. drop the pre-initialized
return value and use the common define for 2G range.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Tested-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
