Rename error_assert() -> error_check()
authorBarret Rhoden <brho@cs.berkeley.edu>
Sun, 12 May 2019 22:24:35 +0000 (18:24 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sun, 12 May 2019 22:24:35 +0000 (18:24 -0400)
commitb8f3ee2766d6c10ad7b31cd977065e36ee4d71cb
treed7c4ec796e9d568c5a53cea5f930dafa080fda5d
parent37a590d0f6db27a67fe74515e0db95f5859b5d9f
Rename error_assert() -> error_check()

If asserts fail, that's a kernel bug.  The error_check() pattern is just
shorthand for "if (foo) error(...)", which are not asserts.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/devarch.c
kern/include/assert.h