
27 Sep
2018
27 Sep
'18
8:52 a.m.
On Thu, Sep 27, 2018 at 5:49 AM Joe Hershberger joe.hershberger@ni.com wrote:
Tests need to be able to pass their "unit test state" to the handlers where asserts are evaluated. Add a function that allows the tests to set this private data on the sandbox eth device.
Signed-off-by: Joe Hershberger joe.hershberger@ni.com
Changes in v2:
- add missing commit message
- rename local "uc_priv" variable to "dev_priv" to not be misleading.
arch/sandbox/include/asm/eth.h | 9 +++++++++ drivers/net/sandbox.c | 20 ++++++++++++++++++++ 2 files changed, 29 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com