aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorEric Chan <[email protected]>2024-07-11 19:39:31 +0000
committerShuah Khan <[email protected]>2024-07-12 16:12:05 +0000
commit7d4087b013895524438f2522367c984f776e09e3 (patch)
treedcb80789de2e9f53e40953b5c4ea8120d610d4f7 /drivers/net/ethernet/intel/ice/ice_lib.c
parentkunit: Fix the comment of KUNIT_ASSERT_STRNEQ as assertion (diff)
downloadkernel-7d4087b013895524438f2522367c984f776e09e3.tar.gz
kernel-7d4087b013895524438f2522367c984f776e09e3.zip
kunit: Rename KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT for readability
Both KUNIT_FAIL and KUNIT_ASSERT_FAILURE defined to KUNIT_FAIL_ASSERTION with different tpye of kunit_assert_type. The current naming of KUNIT_ASSERT_FAILURE and KUNIT_FAIL_ASSERTION is confusing due to their similarities. To improve readability and symmetry, renames KUNIT_ASSERT_FAILURE to KUNIT_FAIL_AND_ABORT. Makes the naming consistent, with KUNIT_FAIL and KUNIT_FAIL_AND_ABORT being symmetrical. Additionally, an explanation for KUNIT_FAIL_AND_ABORT has been added to clarify its usage. Signed-off-by: Eric Chan <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions