diff for duplicates of <56C19350.3010507@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 3835364..458156e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,7 +11,7 @@ On 15.02.2016 09:54, Andrew Jones wrote: >>> + : "r" (r3), "r" (r4) >>> + : "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12"); >>> + ->>> + return !(r3 = H_SUCCESS || r3 = (unsigned long)H_HARDWARE); +>>> + return !(r3 == H_SUCCESS || r3 == (unsigned long)H_HARDWARE); >> >> It might be safer to explicitly check for H_PRIVILEGE, which is what >> you'll get in the case of a broken sc 1 under nested virtualization. diff --git a/a/content_digest b/N1/content_digest index 47ceb8c..83a0411 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020160215085406.5u5344qpaoixnjod@hawk.localdomain\0" "From\0Thomas Huth <thuth@redhat.com>\0" "Subject\0Re: [kvm-unit-tests PATCH v3 11/17] powerpc/ppc64: add hcall support and putchar\0" - "Date\0Mon, 15 Feb 2016 08:58:56 +0000\0" + "Date\0Mon, 15 Feb 2016 09:58:56 +0100\0" "To\0Andrew Jones <drjones@redhat.com>" " David Gibson <david@gibson.dropbear.id.au>\0" "Cc\0kvm@vger.kernel.org" @@ -28,7 +28,7 @@ ">>> +\t: \"r\" (r3), \"r\" (r4)\n" ">>> +\t: \"r5\", \"r6\", \"r7\", \"r8\", \"r9\", \"r10\", \"r11\", \"r12\");\n" ">>> +\n" - ">>> +\treturn !(r3 = H_SUCCESS || r3 = (unsigned long)H_HARDWARE);\n" + ">>> +\treturn !(r3 == H_SUCCESS || r3 == (unsigned long)H_HARDWARE);\n" ">>\n" ">> It might be safer to explicitly check for H_PRIVILEGE, which is what\n" ">> you'll get in the case of a broken sc 1 under nested virtualization.\n" @@ -42,4 +42,4 @@ "\n" Thomas -9cbd7e6a510da2584e0d4fd4a9b185a3928e95ab43415341a5e37ba985c6d9cc +c5f2f2fa594a394c18300bf6cd22b767ef1d2e3516bdc344167c035e0bb9c01d
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.