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:
parent
579e5868b0
commit
c85c8d33d3
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user