Re: [PATCH] common: console: Fix print complete stdio device list

2024-01-17 Thread Patrice CHOTARD
On 1/16/24 17:29, Bin Meng wrote: > On Wed, Jan 17, 2024 at 12:13 AM Patrice Chotard > wrote: >> >> In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are on and >> stdin or stdout or stderr are missing in environment, as fallback, get >> these either from stdio_devices[std] or

Re: [PATCH] common: console: Fix print complete stdio device list

2024-01-16 Thread Bin Meng
On Wed, Jan 17, 2024 at 12:13 AM Patrice Chotard wrote: > > In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are on and > stdin or stdout or stderr are missing in environment, as fallback, get > these either from stdio_devices[std] or stdio_devices[std]->name. > > Fixes: 6b343ab38d ("console: Print

[PATCH] common: console: Fix print complete stdio device list

2024-01-16 Thread Patrice Chotard
In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are on and stdin or stdout or stderr are missing in environment, as fallback, get these either from stdio_devices[std] or stdio_devices[std]->name. Fixes: 6b343ab38d ("console: Print out complete stdio device list") Signed-off-by: Patrice Chotard