On Fri, Mar 15, 2024 at 06:07:48PM +0800, Jijie Shao wrote:
From: Jian Shen <shenjian15@xxxxxxxxxx>typo: maybe skipped -> may be skipped
Currently, loopback test maybe skipped when resetting, but the test
result will still show as 'PASS', because the driver doesn't setFix it by setting the flag and initializating the value to UNEXECUTED.
ETH_TEST_FL_FAILED flag. Fixes it by set the flag and initialize the
value to be UNEXECUTED.
Fixes: 4c8dab1c709c ("net: hns3: reconstruct function hns3_self_test")
Signed-off-by: Jian Shen <shenjian15@xxxxxxxxxx>