Changeset 88e43bc in mainline for kernel/generic/include/panic.h


Ignore:
Timestamp:
2018-11-09T22:02:53Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
436a0a5, c0ea739
Parents:
c5fe7f7
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 21:50:12)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 22:02:53)
Message:

Mark unreachable consistently in kernel

At least in places that were commented as such.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/panic.h

    rc5fe7f7 r88e43bc  
    5353        panic_common(PANIC_MEMTRAP, istate, access, addr, fmt, ##__VA_ARGS__)
    5454
     55#define unreachable() \
     56        panic_assert("%s() at %s:%u:\nUnreachable line reached.", \
     57            __func__, __FILE__, __LINE__);
     58
    5559typedef enum {
    5660        PANIC_OTHER,
Note: See TracChangeset for help on using the changeset viewer.