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

2024-01-25 Thread Tom Rini
On Wed, Jan 17, 2024 at 01:37:13PM +0100, 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:

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

2024-01-17 Thread Marek Vasut
On 1/17/24 13:37, 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 out complete stdio device

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

2024-01-17 Thread Bin Meng
On Wed, Jan 17, 2024 at 8:37 PM 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 ou

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

2024-01-17 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 --