lib/ubsan.c: s/missaligned/misaligned/
Subsystems (2)
[email protected]
maintainerPATCH 79/114 lib/ubsan.c: s/missaligned/misaligned/
From: Andrew Morton <[email protected]>
Subject: lib/ubsan.c: s/missaligned/misaligned/
A vist from the spelling fairy.
Cc David Laight <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
lib/ubsan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/ubsan.c renamed from lib/ubsan.c~lib-ubsanc-s-missaligned-misaligned +2 -2
@@ -281,7 +281,7 @@ static void handle_null_ptr_deref(structubsan_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(structif (!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); }
_