demand_paging: Fix static assert in k_mem_paging_backing_store_page_out()

With assert condition set to true, assertion never happens.
Change __ASSERT(true) to __ASSERT(false).

Signed-off-by: Dmitry Lukyantsev <dmitrylu@meta.com>
This commit is contained in:
Dmitry Lukyantsev 2025-01-06 10:53:49 -08:00 committed by Benjamin Cabé
parent 579e5868b0
commit c85c8d33d3

View File

@ -34,7 +34,7 @@ void k_mem_paging_backing_store_location_free(uintptr_t location)
void k_mem_paging_backing_store_page_out(uintptr_t location)
{
__ASSERT(true, "not ever supposed to be called");
__ASSERT(false, "not ever supposed to be called");
k_panic();
}