The patch titled Subject: gcov-clang-support-checkpatch-fixes has been added to the -mm tree. Its filename is gcov-clang-support-checkpatch-fixes.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/gcov-clang-support-checkpatch-fixes.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/gcov-clang-support-checkpatch-fixes.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: gcov-clang-support-checkpatch-fixes WARNING: Non-standard signature: Co-authored-by: #31: Co-authored-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> WARNING: Non-standard signature: Co-authored-by: #32: Co-authored-by: Tri Vo <trong@xxxxxxxxxxx> WARNING: Possible unnecessary 'out of memory' message #158: FILE: kernel/gcov/clang.c:90: + if (!info) { + pr_warn_ratelimited("failed to allocate gcov info\n"); WARNING: Possible unnecessary 'out of memory' message #193: FILE: kernel/gcov/clang.c:125: + if (!info) { + pr_warn_ratelimited("failed to allocate gcov function info for %s\n", WARNING: line over 80 characters #546: FILE: kernel/gcov/clang.c:478: + pos += store_gcov_u32(buffer, pos, fi_ptr->cfg_checksum); total: 0 errors, 5 warnings, 663 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/gcov-clang-support.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Daniel Mentz <danielmentz@xxxxxxxxxx> Cc: Greg Hackmann <ghackmann@xxxxxxxxxxx> Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> Cc: Peter Oberparleiter <oberpar@xxxxxxxxxxxxx> Cc: Petri Gynther <pgynther@xxxxxxxxxx> Cc: Prasad Sodagudi <psodagud@xxxxxxxxxxx> Cc: Trilok Soni <tsoni@xxxxxxxxxxx> Cc: Tri Vo <trong@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/gcov/clang.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) --- a/kernel/gcov/clang.c~gcov-clang-support-checkpatch-fixes +++ a/kernel/gcov/clang.c @@ -86,10 +86,8 @@ void llvm_gcov_init(llvm_gcov_callback w { struct gcov_info *info = kzalloc(sizeof(*info), GFP_KERNEL); - if (!info) { - pr_warn_ratelimited("failed to allocate gcov info\n"); + if (!info) return; - } INIT_LIST_HEAD(&info->head); INIT_LIST_HEAD(&info->functions); @@ -121,11 +119,8 @@ void llvm_gcda_emit_function(u32 ident, { struct gcov_fn_info *info = kzalloc(sizeof(*info), GFP_KERNEL); - if (!info) { - pr_warn_ratelimited("failed to allocate gcov function info for %s\n", - function_name ?: "UNKNOWN"); + if (!info) return; - } INIT_LIST_HEAD(&info->head); info->ident = ident; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch slab-fix-an-infinite-loop-in-leaks_show-fix.patch userfaultfd-sysctl-add-vmunprivileged_userfaultfd-fix.patch mm-compaction-fix-an-undefined-behaviour-fix.patch mm-enable-error-injection-at-add_to_page_cache-fix.patch mm-memory_hotplug-provide-a-more-generic-restrictions-for-memory-hotplug-fix.patch mm-add-probe_user_read-fix.patch mm-maintain-randomization-of-page-free-lists-checkpatch-fixes.patch lib-list_sort-simplify-and-remove-max_list_length_bits-fix.patch fs-binfmt_elfc-remove-unneeded-initialization-of-mm-start_stack.patch cpumask-fix-double-string-traverse-in-cpumask_parse-fix.patch convert-struct-pid-count-to-refcount_t-fix.patch gcov-clang-support-checkpatch-fixes.patch ipc-do-cyclic-id-allocation-for-the-ipc-object-fix.patch linux-next-rejects.patch scripts-atomic-check-atomicssh-dont-assume-that-scripts-are-executable.patch mm-rename-ambiguously-named-memorystat-counters-and-functions-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.patch