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

Commit 7be0b065 authored by Sasha Levin's avatar Sasha Levin Committed by H. Peter Anvin
Browse files

um: don't compare a pointer to 0

parent 64441745
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@ int arch_fixup(unsigned long address, struct uml_pt_regs *regs)
	const struct exception_table_entry *fixup;
	const struct exception_table_entry *fixup;


	fixup = search_exception_tables(address);
	fixup = search_exception_tables(address);
	if (fixup != 0) {
	if (fixup) {
		UPT_IP(regs) = fixup->fixup;
		UPT_IP(regs) = fixup->fixup;
		return 1;
		return 1;
	}
	}