Changeset 563b538 in mainline


Ignore:
Timestamp:
2011-03-30T15:39:07Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
917a8c8
Parents:
d6b81941
Message:

never use top-level conjunction in assertions, always write two assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/backend_elf.c

    rd6b81941 r563b538  
    9292                return AS_PF_FAULT;
    9393
    94         ASSERT((addr >= ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE)) &&
    95             (addr < entry->p_vaddr + entry->p_memsz));
     94        ASSERT(addr >= ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE));
     95        ASSERT(addr < entry->p_vaddr + entry->p_memsz);
    9696        i = (addr - ALIGN_DOWN(entry->p_vaddr, PAGE_SIZE)) >> PAGE_WIDTH;
    9797        base = (uintptr_t)
Note: See TracChangeset for help on using the changeset viewer.