diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2018-02-07 00:40:38 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-07 03:32:46 +0100 |
commit | b8fe1120b4ba342b4f156d24e952d6e686b20298 (patch) | |
tree | d71494c35074606f6855a2ad61d2ff433aabd927 /lib/ubsan.c | |
parent | build_bug.h: remove BUILD_BUG_ON_NULL() (diff) | |
download | linux-b8fe1120b4ba342b4f156d24e952d6e686b20298.tar.xz linux-b8fe1120b4ba342b4f156d24e952d6e686b20298.zip |
lib/ubsan.c: s/missaligned/misaligned/
A vist from the spelling fairy.
Cc: David Laight <David.Laight@ACULAB.COM>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/ubsan.c')
-rw-r--r-- | lib/ubsan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ubsan.c b/lib/ubsan.c index fb0409df1bcf..1e2328fa002d 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); } |