Re: [PATCH net 3/3] net: hns3: mark unexcuted loopback test result as UNEXECUTED

From: Jijie Shao
Date: Sat Mar 16 2024 - 07:18:12 EST



on 2024/3/16 2:07, Michal Kubiak wrote:
On Fri, Mar 15, 2024 at 06:07:48PM +0800, Jijie Shao wrote:
From: Jian Shen <shenjian15@xxxxxxxxxx>

Currently, loopback test maybe skipped when resetting, but the test
typo: maybe skipped -> may be skipped

result will still show as 'PASS', because the driver doesn't set
ETH_TEST_FL_FAILED flag. Fixes it by set the flag and initialize the
value to be UNEXECUTED.
Fix it by setting the flag and initializating the value to UNEXECUTED.


Fixes: 4c8dab1c709c ("net: hns3: reconstruct function hns3_self_test")
Signed-off-by: Jian Shen <shenjian15@xxxxxxxxxx>

Thanks,

I have sent V2 to fix them.

Jijie