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:
John David Anglin
2025-07-21 16:18:41 -04:00
committed by Greg Kroah-Hartman
parent 0199adb6d1
commit 69cf90e5aa

View File

@@ -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;
}