diff for duplicates of <1475652308.2070.2.camel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 33cfc00..8c3a3e8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -44,7 +44,8 @@ Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> > + return; > + /* Sanity check for the property layout (first two bytes are > header) */ -> + assert(plen >= 8 && prop->data[1] = 0 && prop->data[0] <> plen - 2); +> + assert(plen >= 8 && prop->data[1] == 0 && prop->data[0] <= +> plen - 2); > + > + /* > + * The "Transactional Memory Category Support" flags are at @@ -67,7 +68,7 @@ Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> > + > + ret = dt_for_each_cpu_node(cpu_has_tm, &available); > + -> + return ret = 0 && available = nr_cpus; +> + return ret == 0 && available == nr_cpus; > +} > > static int h_cede(void) @@ -88,6 +89,6 @@ Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> > + if (!has_tm) > + return report_summary(); > + -> all = argc = 1 || !strcmp(argv[1], "all"); +> all = argc == 1 || !strcmp(argv[1], "all"); > > for (i = 0; hctests[i].name != NULL; i++) { diff --git a/a/content_digest b/N1/content_digest index 0d63819..8e4b0ff 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01475572050-13164-1-git-send-email-thuth@redhat.com\0" "From\0Suraj Jitindar Singh <sjitindarsingh@gmail.com>\0" "Subject\0Re: [kvm-unit-tests PATCH v3] powerpc: Check whether TM is available before running other tests\0" - "Date\0Wed, 05 Oct 2016 07:25:08 +0000\0" + "Date\0Wed, 05 Oct 2016 18:25:08 +1100\0" "To\0Thomas Huth <thuth@redhat.com>" " kvm@vger.kernel.org\0" "Cc\0Radim Kr\304\215m\303\241\305\231 <rkrcmar@redhat.com>" @@ -56,7 +56,8 @@ "> +\t\treturn;\n" "> +\t/* Sanity check for the property layout (first two bytes are\n" "> header) */\n" - "> +\tassert(plen >= 8 && prop->data[1] = 0 && prop->data[0] <> plen - 2);\n" + "> +\tassert(plen >= 8 && prop->data[1] == 0 && prop->data[0] <=\n" + "> plen - 2);\n" "> +\n" "> +\t/*\n" "> +\t\302\240* The \"Transactional Memory Category Support\" flags are at\n" @@ -79,7 +80,7 @@ "> +\n" "> +\tret = dt_for_each_cpu_node(cpu_has_tm, &available);\n" "> +\n" - "> +\treturn ret = 0 && available = nr_cpus;\n" + "> +\treturn ret == 0 && available == nr_cpus;\n" "> +}\n" "> \302\240\n" "> \302\240static int h_cede(void)\n" @@ -100,8 +101,8 @@ "> +\tif (!has_tm)\n" "> +\t\treturn report_summary();\n" "> +\n" - "> \302\240\tall = argc = 1 || !strcmp(argv[1], \"all\");\n" + "> \302\240\tall = argc == 1 || !strcmp(argv[1], \"all\");\n" "> \302\240\n" "> \302\240\tfor (i = 0; hctests[i].name != NULL; i++) {" -2ec08d54c0024c02a82dee9b693db5a93e490d41135c53c71f200e25cfdfac00 +568cbc4e79a905496587d5b559675f62fa8ca20f60a938fe2aeefa6090104676
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.