mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
parisc: Drop WARN_ON_ONCE() from flush_cache_vmap
commit 4eab1c27ce1f0e89ab67b01bf1e4e4c75215708a upstream. I have observed warning to occassionally trigger. Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # v5.12+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0199adb6d1
commit
69cf90e5aa
@@ -841,7 +841,7 @@ void flush_cache_vmap(unsigned long start, unsigned long end)
|
||||
}
|
||||
|
||||
vm = find_vm_area((void *)start);
|
||||
if (WARN_ON_ONCE(!vm)) {
|
||||
if (!vm) {
|
||||
flush_cache_all();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user