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:
parent
5e5ea9a21d
commit
f7c9f328a4
5 changed files with 9 additions and 9 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue