The patch titled Subject: lib-test_crc-add-test-cases-for-crc-calculation-fix has been added to the -mm tree. Its filename is lib-test_crc-add-test-cases-for-crc-calculation-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-test_crc-add-test-cases-for-crc-calculation-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-test_crc-add-test-cases-for-crc-calculation-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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: lib-test_crc-add-test-cases-for-crc-calculation-fix make two globals static, regularize code layout, remove unneeded initialization Cc: Coly Li <colyli@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/test_crc.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff -puN lib/test_crc.c~lib-test_crc-add-test-cases-for-crc-calculation-fix lib/test_crc.c --- a/lib/test_crc.c~lib-test_crc-add-test-cases-for-crc-calculation-fix +++ a/lib/test_crc.c @@ -25,8 +25,8 @@ struct crc_test_record { void (*handler)(struct crc_test_record *rec); }; -int failed_tests; -int total_tests; +static int failed_tests; +static int total_tests; static void chk_and_msg(const char *name, u64 crc, u64 expval) { @@ -68,9 +68,6 @@ static int __init test_crc_init(void) { int i; - failed_tests = 0; - total_tests = 0; - pr_info("Kernel CRC consistency testing:\n"); for (i = 0; test_data[i].name; i++) test_data[i].handler(&test_data[i]); @@ -85,7 +82,9 @@ static int __init test_crc_init(void) } late_initcall(test_crc_init); -static void __exit test_crc_exit(void) { } +static void __exit test_crc_exit(void) +{ +} module_exit(test_crc_exit); MODULE_DESCRIPTION("CRC consistency testing driver"); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are i-need-old-gcc.patch arm-arch-arm-include-asm-pageh-needs-personalityh.patch ocfs2-return-erofs-when-filesystem-becomes-read-only-checkpatch-fixes.patch mm.patch tools-modifying-page-types-to-include-shared-map-counts-checkpatch-fixes.patch tools-modifying-page-types-to-include-shared-map-counts-fix-checkpatch-fixes.patch tools-adding-support-for-idle-page-tracking-to-tool-fix.patch mm-drop-vm_bug_on-from-__get_free_pages-fix.patch mm-list_lruc-fold-__list_lru_count_one-into-its-caller.patch mm-fadvise-fix-signed-overflow-ubsan-complaint-fix.patch mm-sparsemem-defer-the-ms-section_mem_map-clearing-fix.patch mm-sparse-optimize-memmap-allocation-during-sparse_init-checkpatch-fixes.patch mm-sparse-abstract-sparse-buffer-allocations-fix.patch mm-sparse-abstract-sparse-buffer-allocations-fix-fix.patch mm-soft-offline-close-the-race-against-page-allocation-fix.patch list_lru-prefetch-neighboring-list-entries-before-acquiring-lock-fix.patch mm-oom-cgroup-aware-oom-killer-fix.patch mm-oom-cgroup-aware-oom-killer-fix-2.patch mm-oom-docs-describe-the-cgroup-aware-oom-killer-fix-2-fix.patch proc-kcore-dont-grab-lock-for-kclist_add-fix.patch kernel-hung_taskc-allow-to-set-checking-interval-separately-from-timeout-fix.patch lib-test_crc-add-test-cases-for-crc-calculation-fix.patch hfs-hfsplus-follow-macos-time-behavior-checkpatch-fixes.patch linux-next-rejects.patch fs-fix-double-prealloc_shrinker-in-sget_fc-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.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