Skip to content

Commit 4afb135

Browse files
danglin44gregkh
authored andcommitted
parisc: Drop WARN_ON_ONCE() from flush_cache_vmap
commit 4eab1c2 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>
1 parent 5f44131 commit 4afb135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ void flush_cache_vmap(unsigned long start, unsigned long end)
841841
}
842842

843843
vm = find_vm_area((void *)start);
844-
if (WARN_ON_ONCE(!vm)) {
844+
if (!vm) {
845845
flush_cache_all();
846846
return;
847847
}

0 commit comments

Comments
 (0)