]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: eth-raw: do not close the console input
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 27 Oct 2020 19:29:21 +0000 (20:29 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 16:11:30 +0000 (09:11 -0700)
commitbbbe4a41b47c3155634e9bdd462382a90f0fea69
treed93e351313f26c0b67beff69a818ad1abf2465f6
parentea05f0d62c22add92bf9ee984f83a9ccb70dc718
sandbox: eth-raw: do not close the console input

When the sandbox eth-raw device host_lo is removed this leads to closing
the console input.

Do not call close(0).

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/eth-raw-os.c
arch/sandbox/cpu/os.c