diff for duplicates of <20141029084504.GD8939@mwanda> diff --git a/a/1.txt b/N1/1.txt index f8fb01c..7b6c3c5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,10 +11,17 @@ index 014bab6..d39e2f4 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -1591,7 +1591,7 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai, - if (cpu = NR_CPUS) + if (cpu == NR_CPUS) continue; - PCPU_SETUP_BUG_ON(cpu > nr_cpu_ids); + PCPU_SETUP_BUG_ON(cpu >= nr_cpu_ids); PCPU_SETUP_BUG_ON(!cpu_possible(cpu)); PCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX); + + +-- +To unsubscribe, send a message with 'unsubscribe linux-mm' in +the body to majordomo@kvack.org. For more info on Linux MM, +see: http://www.linux-mm.org/ . +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index dfaef64..55b34c8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] percpu: off by one in BUG_ON()\0" - "Date\0Wed, 29 Oct 2014 08:45:04 +0000\0" + "Date\0Wed, 29 Oct 2014 11:45:04 +0300\0" "To\0Tejun Heo <tj@kernel.org>\0" "Cc\0Christoph Lameter <cl@linux-foundation.org>" linux-mm@kvack.org @@ -20,12 +20,19 @@ "--- a/mm/percpu.c\n" "+++ b/mm/percpu.c\n" "@@ -1591,7 +1591,7 @@ int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,\n" - " \t\t\tif (cpu = NR_CPUS)\n" + " \t\t\tif (cpu == NR_CPUS)\n" " \t\t\t\tcontinue;\n" " \n" "-\t\t\tPCPU_SETUP_BUG_ON(cpu > nr_cpu_ids);\n" "+\t\t\tPCPU_SETUP_BUG_ON(cpu >= nr_cpu_ids);\n" " \t\t\tPCPU_SETUP_BUG_ON(!cpu_possible(cpu));\n" - " \t\t\tPCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX);" + " \t\t\tPCPU_SETUP_BUG_ON(unit_map[cpu] != UINT_MAX);\n" + " \n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -5f86139d3a67767a4a5493144281f05c8453e433782be0323b401abde3776e65 +d6f7d477c54e32f313459d70f247c05ea47e2bb4466707dc4d07257ccfd7a291
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.