Searched hist:e55ef7c34bb6b61a4ede3164f8bbbd84a0127614 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | panic.h | e55ef7c34bb6b61a4ede3164f8bbbd84a0127614 Mon Feb 17 14:27:07 UTC 2020 Jerome Forissier <jerome@forissier.org> core: panic(): don't lose the message in non-debug mode
When CFG_TEE_CORE_DEBUG != y, panic("Some text") prints no file/line/ function information (which is expected in non-debug mode) but it also ignores its parameter. As a result, the console simply shows "Panic" which is not very helpful.
There is no reason not to print the panic message, so add it. Note that it is still possible to build a fully silent OP-TEE by setting the log level to zero.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Acked-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|