Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e686d341 authored by Harvey Harrison's avatar Harvey Harrison Committed by Ingo Molnar
Browse files

x86: !x & y typo in mtrr code



As written, this can never be true.

Spotted by the Sparse checker.

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent a01e035e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ u8 mtrr_type_lookup(u64 start, u64 end)
	 * Look of multiple ranges matching this address and pick type
	 * as per MTRR precedence
	 */
	if (!mtrr_state.enabled & 2) {
	if (!(mtrr_state.enabled & 2)) {
		return mtrr_state.def_type;
	}