SMMU: Fix Unregister on MultiAddress

This commit is contained in:
Fernando Sahmkow 2023-12-29 09:27:37 +01:00 committed by Liam
parent 34a8d0cc8e
commit bad705f245
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public:
u32 next_entry = current->next_entry; u32 next_entry = current->next_entry;
if (next_entry != 0) { if (next_entry != 0) {
next = &storage[next_entry - 1]; next = &storage[next_entry - 1];
more_than_one_remaining = next->next_entry != 0; more_than_one_remaining = next->next_entry != 0 || previous != nullptr;
} }
if (previous) { if (previous) {
previous->next_entry = next_entry; previous->next_entry = next_entry;