Skip to contentSkip to conversation

parisc: Drop WARN_ON_ONCE() from flush_cache_vmap

PATCH New John David Anglin 1 participant 1 message Jul 21, 2025 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parisc: Drop WARN_ON_ONCE() from flush_cache_vmap

parisc: Drop WARN_ON_ONCE() from flush_cache_vmap

I have observed warning to occassionally trigger.

---

arch/parisc/kernel/cache.c +1 -1
index db531e58d70e..37ca484cc495 100644
@@ -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;
 	}