different subsystems: use unsigned int for irq_lock()

irq_lock() returns an unsigned integer key.
Generated by spatch using semantic patch
scripts/coccinelle/irq_lock.cocci

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2022-07-13 17:11:05 +02:00 committed by Mahesh Mahadevan
commit f7c9f328a4
5 changed files with 9 additions and 9 deletions

View file

@ -26,7 +26,7 @@ static void nru_periodic_update(struct k_timer *timer)
{
uintptr_t phys;
struct z_page_frame *pf;
int key = irq_lock();
unsigned int key = irq_lock();
Z_PAGE_FRAME_FOREACH(phys, pf) {
if (!z_page_frame_is_evictable(pf)) {