diff for duplicates of <4DE926D4.9010009@goop.org> diff --git a/a/1.txt b/N1/1.txt index 0c2e31d..58f155d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -26,10 +26,10 @@ Thanks, > - BUG_ON(b->argidx > MC_ARGS); > + BUG_ON(b->argidx >= MC_ARGS); > -> if (b->mcidx = MC_BATCH || +> if (b->mcidx == MC_BATCH || > - (argidx + args) > MC_ARGS) { > + (argidx + args) >= MC_ARGS) { -> mc_stats_flush(b->mcidx = MC_BATCH ? FL_SLOTS : FL_ARGS); +> mc_stats_flush(b->mcidx == MC_BATCH ? FL_SLOTS : FL_ARGS); > xen_mc_flush(); > argidx = roundup(b->argidx, sizeof(u64)); > @@ -206,7 +206,7 @@ struct multicall_space __xen_mc_entry(size_t args) @@ -48,7 +48,7 @@ Thanks, > - BUG_ON(b->argidx > MC_ARGS); > + BUG_ON(b->argidx >= MC_ARGS); > -> if (b->mcidx = 0) +> if (b->mcidx == 0) > return ret; > @@ -224,14 +224,14 @@ struct multicall_space xen_mc_extend_args(unsigned long op, size_t size) > if (b->entries[b->mcidx - 1].op != op) diff --git a/a/content_digest b/N1/content_digest index b862000..3f9b8f6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020110603044528.GD3661@shale.localdomain\0" "From\0Jeremy Fitzhardinge <jeremy@goop.org>\0" "Subject\0Re: [patch] xen: off by one errors in multicalls.c\0" - "Date\0Fri, 03 Jun 2011 18:24:20 +0000\0" + "Date\0Fri, 03 Jun 2011 11:24:20 -0700\0" "To\0Dan Carpenter <error27@gmail.com>\0" "Cc\0Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>" Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> @@ -42,10 +42,10 @@ "> -\tBUG_ON(b->argidx > MC_ARGS);\n" "> +\tBUG_ON(b->argidx >= MC_ARGS);\n" "> \n" - "> \tif (b->mcidx = MC_BATCH ||\n" + "> \tif (b->mcidx == MC_BATCH ||\n" "> -\t (argidx + args) > MC_ARGS) {\n" "> +\t (argidx + args) >= MC_ARGS) {\n" - "> \t\tmc_stats_flush(b->mcidx = MC_BATCH ? FL_SLOTS : FL_ARGS);\n" + "> \t\tmc_stats_flush(b->mcidx == MC_BATCH ? FL_SLOTS : FL_ARGS);\n" "> \t\txen_mc_flush();\n" "> \t\targidx = roundup(b->argidx, sizeof(u64));\n" "> @@ -206,7 +206,7 @@ struct multicall_space __xen_mc_entry(size_t args)\n" @@ -64,7 +64,7 @@ "> -\tBUG_ON(b->argidx > MC_ARGS);\n" "> +\tBUG_ON(b->argidx >= MC_ARGS);\n" "> \n" - "> \tif (b->mcidx = 0)\n" + "> \tif (b->mcidx == 0)\n" "> \t\treturn ret;\n" "> @@ -224,14 +224,14 @@ struct multicall_space xen_mc_extend_args(unsigned long op, size_t size)\n" "> \tif (b->entries[b->mcidx - 1].op != op)\n" @@ -89,4 +89,4 @@ "> https://lists.linux-foundation.org/mailman/listinfo/virtualization\n" > -c847fa56b2980fca59589ec71292f523cbe8406cba83b78b6958d20b88136cb2 +978d938c23aa1ac65636da1b89d49939cfeb50921bec93a3bc66083128e9943b
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.