The patch titled
     intel_cacheinfo: fix null pointer deref
has been removed from the -mm tree.  Its filename was
     intel_cacheinfo-adjustmentspatch.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: intel_cacheinfo: fix null pointer deref
From: "Jan Beulich" <[EMAIL PROTECTED]>

Prevent doing anything from cache_remove_dev() when info setup failed.

(akpm: am awaiting a better Subject: and changelog)

Cc: Venkatesh Pallipadi <[EMAIL PROTECTED]>
Cc: Ashok Raj <[EMAIL PROTECTED]>
Cc: Akinobu Mita <[EMAIL PROTECTED]>
Signed-off-by: Jan Beulich <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/i386/kernel/cpu/intel_cacheinfo.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN 
arch/i386/kernel/cpu/intel_cacheinfo.c~intel_cacheinfo-adjustmentspatch 
arch/i386/kernel/cpu/intel_cacheinfo.c
--- a/arch/i386/kernel/cpu/intel_cacheinfo.c~intel_cacheinfo-adjustmentspatch
+++ a/arch/i386/kernel/cpu/intel_cacheinfo.c
@@ -748,6 +748,8 @@ static void __cpuinit cache_remove_dev(s
        unsigned int cpu = sys_dev->id;
        unsigned long i;
 
+       if (unlikely(cpuid4_info[cpu] == NULL))
+               return;
        for (i = 0; i < num_cache_leaves; i++) {
                cache_remove_shared_cpu_map(cpu, i);
                kobject_unregister(&(INDEX_KOBJECT_PTR(cpu,i)->kobj));
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
tristate-choices-with-mixed-tristate-and-boolean.patch
fix-x86_64-mm-unwinder.patch
x86-misc-constifications.patch
x86-constify-stacktrace_ops.patch
x86-constify-wd_ops.patch
x86-multi-byte-single-instruction-nops.patch
floppy-tolerate-dma-channel-unavailability.patch
cleanup-floppyh.patch
handle-recursive-calls-to-bust_spinlocks.patch
store-__setup_str_-in-a-more-compact-way.patch
constify-string-array-kparam-tracking-structures.patch
cpu-hotplug-thermal_throttle-fix-cpu-hotplug-error-handling.patch
cpu-hotplug-msr-fix-cpu-hotplug-error-handling.patch
cpu-hotplug-cpuid-fix-cpu-hotplug-error-handling.patch
cpu-hotplug-mce-fix-cpu-hotplug-error-handling.patch
cpu-hotplug-intel_cacheinfo-fix-cpu-hotplug-error-handling.patch
cpu-hotplug-intel_cacheinfo-fix-cpu-hotplug-error-handling-fix-a-section-mismatch-warning.patch
pnp-dont-fail-device-init-if-no-dma-channel.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to