zephyr/drivers/console
Kumar Gala 831bd2f841 armclang: fix compiler warnings with isprint()
We get compile warnings of the form:

drivers/console/uart_console.c:508:8: error: converting the result of
'<<' to a boolean; did you mean
'((__aeabi_ctype_table_ + 1)[(byte)] << 28) != 0'?
 [-Werror,-Wint-in-bool-context]
                if (!isprint(byte)) {
                     ^

Since isprint returns an int, change check to an explicit test against
the return value.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-03-17 09:30:01 +01:00
..
CMakeLists.txt
Kconfig mgmt/mcumgr: Standardise MCUmgr Kconfig names 2022-12-22 12:36:34 +01:00
Kconfig.gsm_mux
efi_console.c
gsm_mux.c
gsm_mux.h all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
ipm_console.c
ipm_console_receiver.c
ipm_console_sender.c
jailhouse_debug_console.c
native_posix_console.c
ram_console.c
rtt_console.c
semihost_console.c
uart_console.c armclang: fix compiler warnings with isprint() 2023-03-17 09:30:01 +01:00
uart_mcumgr.c mgmt/mcumgr: Standardise MCUmgr Kconfig names 2022-12-22 12:36:34 +01:00
uart_mux.c
uart_mux_internal.h drivers: uart_mux: Fix documentation of uart_mux_recv() 2023-01-19 08:44:34 -06:00
winstream_console.c
xtensa_sim_console.c