Skip to content

Commit 82a1c2b

Browse files
committed
Merge branch 'for-next/selftests' into for-next/core
Trivial cleanup to one of the MTE selftests. * for-next/selftests: arm64: mte: style: Simplify bool comparison
2 parents 9dc8313 + dd313a2 commit 82a1c2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/testing/selftests/arm64/mte/check_buffer_fill.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static int check_buffer_underflow_by_byte(int mem_type, int mode,
8181
last_index = 0;
8282
/* Set some value in tagged memory and make the buffer underflow */
8383
for (j = sizes[i] - 1; (j >= -underflow_range) &&
84-
(cur_mte_cxt.fault_valid == false); j--) {
84+
(!cur_mte_cxt.fault_valid); j--) {
8585
ptr[j] = '1';
8686
last_index = j;
8787
}

0 commit comments

Comments
 (0)