Skip to contentSkip to conversation

percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Apr 7, 2014 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [folded-merged] percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 07 Apr 2014 15:20:13 -0700

The patch titled
Subject: percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes
has been removed from the -mm tree. Its filename was
percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes.patch

This patch was dropped because it was folded into percpu-add-preemption-checks-to-__this_cpu-ops.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes

WARNING: storage class should be at the beginning of the declaration #25: FILE: lib/smp_processor_id.c:10:
+notrace static unsigned int check_preemption_disabled(const char *what1,

WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... #36: FILE: lib/smp_processor_id.c:42:
+ printk(KERN_ERR "BUG: using %s%s() in preemptible [%08x] code: %s/%d\n",

ERROR: space required after that ',' (ctx:VxV) #46: FILE: lib/smp_processor_id.c:56:
+ return check_preemption_disabled("smp_processor_id","");
^

total: 1 errors, 2 warnings, 36 lines checked

./patches/percpu-add-preemption-checks-to-__this_cpu-ops-fix.patch has style problems, please review.

If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc Christoph Lameter <[email protected]>

---

 lib/smp_processor_id.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/smp_processor_id.c renamed from lib/smp_processor_id.c~percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes +1 -1
diff -puN lib/smp_processor_id.c~percpu-add-preemption-checks-to-__this_cpu-ops-fix-checkpatch-fixes lib/smp_processor_id.c
@@ -53,7 +53,7 @@ out:
 
 notrace unsigned int debug_smp_processor_id(void)
 {
-	return check_preemption_disabled("smp_processor_id","");
+	return check_preemption_disabled("smp_processor_id", "");
 }
 EXPORT_SYMBOL(debug_smp_processor_id);
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch
mmnuma-reorganize-change_pmd_range.patch drivers-lguest-page_tablesc-rename-do_set_pte.patch mm-add-debugfs-tunable-for-fault_around_order.patch mm-per-thread-vma-caching.patch mm-use-macros-from-compilerh-instead-of-__attribute__.patch mm-vmallocc-enhance-vm_map_ram-comment.patch mm-readaheadc-inline-ra_submit.patch zram-use-zcomp-compressing-backends.patch zram-return-error-valued-pointer-from-zcomp_create.patch zram-propagate-error-to-user.patch zram-support-req_discard.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype.patch kernel-panicc-display-reason-at-end-pr_emerg.patch fault-injection-set-bounds-on-what-proc-self-make-it-fail-accepts.patch initramfs-debug-detected-compression-method.patch slub-use-raw_cpu_inc-for-incrementing-statistics.patch vmstat-use-raw_cpu_ops-to-avoid-false-positives-on-preemption-checks.patch percpu-add-preemption-checks-to-__this_cpu-ops.patch