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

Commit 03ad3d93 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lib/ubsan.c: s/missaligned/misaligned/"

parents 23edfe8f db124a98
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ static void handle_null_ptr_deref(struct type_mismatch_data *data)
	ubsan_epilogue(&flags);
}

static void handle_missaligned_access(struct type_mismatch_data *data,
static void handle_misaligned_access(struct type_mismatch_data *data,
				unsigned long ptr)
{
	unsigned long flags;
@@ -322,7 +322,7 @@ void __ubsan_handle_type_mismatch(struct type_mismatch_data *data,
	if (!ptr)
		handle_null_ptr_deref(data);
	else if (data->alignment && !IS_ALIGNED(ptr, data->alignment))
		handle_missaligned_access(data, ptr);
		handle_misaligned_access(data, ptr);
	else
		handle_object_size_mismatch(data, ptr);
}