zephyr/include/logging
Daniel Leung 79b044b61b logging: move _is_user_context() check down one level
MISRA-C Directive 4.7 says that error information returned from
a function needs to be tested. In the logging macros,
return from _is_user_context() is not needed until logging is
enabled and above minimal logging level. There is a potential
that the return is not being used at all. So move it one level
below as it is surely being used within the if block.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-08-06 08:59:33 -04:00
..
log.h sys: util: Deprecate GET_ARG2 macro 2020-06-22 15:18:07 +02:00
log_backend.h logging: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
log_core.h logging: move _is_user_context() check down one level 2020-08-06 08:59:33 -04:00
log_ctrl.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
log_frontend.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
log_instance.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
log_msg.h logging: Add fields initialization in z_log_msg_std_alloc 2020-07-09 13:46:07 +02:00
log_output.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00