+ x86_64-typo-in-__assign_irq_vector-when-update-pos-for-vector-and-offset.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     x86_64: typo in __assign_irq_vector when update pos for vector and offset

has been added to the -mm tree.  Its filename is

     x86_64-typo-in-__assign_irq_vector-when-update-pos-for-vector-and-offset.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: x86_64: typo in __assign_irq_vector when update pos for vector and offset
From: Yinghai Lu <yinghai.lu@xxxxxxx>

typo with cpu instead of new_cpu

Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx>
Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/x86_64/kernel/io_apic.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN arch/x86_64/kernel/io_apic.c~x86_64-typo-in-__assign_irq_vector-when-update-pos-for-vector-and-offset arch/x86_64/kernel/io_apic.c
--- a/arch/x86_64/kernel/io_apic.c~x86_64-typo-in-__assign_irq_vector-when-update-pos-for-vector-and-offset
+++ a/arch/x86_64/kernel/io_apic.c
@@ -651,12 +651,12 @@ next:
 		if (vector == IA32_SYSCALL_VECTOR)
 			goto next;
 		for_each_cpu_mask(new_cpu, domain)
-			if (per_cpu(vector_irq, cpu)[vector] != -1)
+			if (per_cpu(vector_irq, new_cpu)[vector] != -1)
 				goto next;
 		/* Found one! */
 		for_each_cpu_mask(new_cpu, domain) {
-			pos[cpu].vector = vector;
-			pos[cpu].offset = offset;
+			pos[new_cpu].vector = vector;
+			pos[new_cpu].offset = offset;
 		}
 		if (old_vector >= 0) {
 			int old_cpu;
_

Patches currently in -mm which might be from yinghai.lu@xxxxxxx are

x86_64-irq-use-irq_domain-in-ioapic_retrigger_irq.patch
x86_64-typo-in-__assign_irq_vector-when-update-pos-for-vector-and-offset.patch
x86_64-put-more-than-one-cpu-in-target_cpus.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux