The patch titled Subject: lib/test_ubsan.c: make test_ubsan_misaligned_access() static has been added to the -mm tree. Its filename is lib-add-testing-module-for-ubsan-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-add-testing-module-for-ubsan-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-add-testing-module-for-ubsan-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Colin Ian King <colin.king@xxxxxxxxxxxxx> Subject: lib/test_ubsan.c: make test_ubsan_misaligned_access() static test_ubsan_misaligned_access() is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: lib/test_ubsan.c:91:6: warning: symbol 'test_ubsan_misaligned_access' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20180313103048.28513-1-colin.king@xxxxxxxxxxxxx Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Cc: Jinbum Park <jinb.park7@xxxxxxxxx> Cc: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx> Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/test_ubsan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/test_ubsan.c~lib-add-testing-module-for-ubsan-fix lib/test_ubsan.c --- a/lib/test_ubsan.c~lib-add-testing-module-for-ubsan-fix +++ a/lib/test_ubsan.c @@ -88,7 +88,7 @@ static void test_ubsan_null_ptr_deref(vo val = *ptr; } -void test_ubsan_misaligned_access(void) +static void test_ubsan_misaligned_access(void) { volatile char arr[5] __aligned(4) = {1, 2, 3, 4, 5}; volatile int *ptr, val = 6; _ Patches currently in -mm which might be from colin.king@xxxxxxxxxxxxx are mm-ksm-make-function-stable_node_dup-static.patch mm-swap-make-bool-enable_vma_readahead-and-function-swap_vma_readahead-static.patch mm-swap-make-pointer-swap_avail_heads-static.patch lib-add-testing-module-for-ubsan-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html