summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2026-02-18 12:53:27 +0100
committerAlex Deucher <alexander.deucher@amd.com>2026-05-27 12:02:23 -0400
commit962d684b5dc0741dcd93485d41b450de402d5592 (patch)
treeb86e3cc33f8eb88d07603a800005771817923ab2 /kernel
parent181307acf8ea597ad63fd574b44d0f98a329a61b (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> (cherry picked from commit c08972f555945cda57b0adb72272a37910153390) Cc: stable@vger.kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions