From: Andrew Morton Date: Tue, 6 Feb 2018 23:40:38 +0000 (-0800) Subject: lib/ubsan.c: s/missaligned/misaligned/ X-Git-Tag: v4.14.20~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a5df7771064defa931d44ed28fec673fe66752f;p=platform%2Fkernel%2Flinux-exynos.git lib/ubsan.c: s/missaligned/misaligned/ commit b8fe1120b4ba342b4f156d24e952d6e686b20298 upstream. A vist from the spelling fairy. Cc: David Laight Cc: Andrey Ryabinin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- diff --git a/lib/ubsan.c b/lib/ubsan.c index fb0409d..1e2328f 100644 --- a/lib/ubsan.c +++ b/lib/ubsan.c @@ -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); }