Commit 82a1c2b9 authored by Will Deacon's avatar Will Deacon

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
parents 9dc8313c dd313a26
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment