mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
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
This commit is contained in:
@@ -81,7 +81,7 @@ static int check_buffer_underflow_by_byte(int mem_type, int mode,
|
||||
last_index = 0;
|
||||
/* Set some value in tagged memory and make the buffer underflow */
|
||||
for (j = sizes[i] - 1; (j >= -underflow_range) &&
|
||||
(cur_mte_cxt.fault_valid == false); j--) {
|
||||
(!cur_mte_cxt.fault_valid); j--) {
|
||||
ptr[j] = '1';
|
||||
last_index = j;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user