[U-Boot] [PATCH v2 04/11] sandbox: eth-raw: Make sure descriptors are always initialized

Simon Glass sjg at chromium.org
Sat Jun 30 04:20:21 UTC 2018


On 29 June 2018 at 20:20, Joe Hershberger <joe.hershberger at ni.com> wrote:
> If we let descriptors equal 0, we can end up closing STDIN. Make sure
> they start out as -1.
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>
> Changes in v2: None
>
>  arch/sandbox/cpu/eth-raw-os.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list