]> git.baikalelectronics.ru Git - uboot.git/commit
net: Fix error handling in sb_eth_raw_ofdata_to_platdata()
authorSimon Glass <sjg@chromium.org>
Mon, 7 Jan 2019 23:44:22 +0000 (16:44 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Jan 2019 00:47:13 +0000 (17:47 -0700)
commitdeee816b4e3990a5f4dab4c793b44cba788757d0
treeff2053b20ff874c686e46b7175d1d1749b09da25
parentc166359c9c74562308a6cae533879a6f03c9cda3
net: Fix error handling in sb_eth_raw_ofdata_to_platdata()

At present this stores the error number in an unsigned int so an error is
never detected. Use the existing signed variable instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sandbox-raw.c