diff for duplicates of <550C0143.4040706@suse.de> diff --git a/a/1.txt b/N1/1.txt index f8756be..6b1db3d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -205,7 +205,7 @@ Have you measure the additional overhead this brings? > + smp_rmb(); > + tb = *acc; > + smp_rmb(); -> + if (count = acc->seqcount) { +> + if (count == acc->seqcount) { > + ok = true; > + break; > + } @@ -232,7 +232,7 @@ Have you measure the additional overhead this brings? > + len = p->buflen - pos; > + n = copy_to_user(buf, p->buf + pos, len); > + if (n) { -> + if (n = len) +> + if (n == len) > + return -EFAULT; > + len -= n; > + } diff --git a/a/content_digest b/N1/content_digest index 63b52fd..6ba8a30 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01426844400-12017-14-git-send-email-paulus@samba.org\0" "From\0Alexander Graf <agraf@suse.de>\0" "Subject\0Re: [PATCH 13/23] KVM: PPC: Book3S HV: Accumulate timing information for real-mode code\0" - "Date\0Fri, 20 Mar 2015 11:15:15 +0000\0" + "Date\0Fri, 20 Mar 2015 12:15:15 +0100\0" "To\0Paul Mackerras <paulus@samba.org>" kvm-ppc@vger.kernel.org " kvm@vger.kernel.org\0" @@ -215,7 +215,7 @@ "> +\t\t\t\t\tsmp_rmb();\n" "> +\t\t\t\t\ttb = *acc;\n" "> +\t\t\t\t\tsmp_rmb();\n" - "> +\t\t\t\t\tif (count = acc->seqcount) {\n" + "> +\t\t\t\t\tif (count == acc->seqcount) {\n" "> +\t\t\t\t\t\tok = true;\n" "> +\t\t\t\t\t\tbreak;\n" "> +\t\t\t\t\t}\n" @@ -242,7 +242,7 @@ "> +\t\tlen = p->buflen - pos;\n" "> +\tn = copy_to_user(buf, p->buf + pos, len);\n" "> +\tif (n) {\n" - "> +\t\tif (n = len)\n" + "> +\t\tif (n == len)\n" "> +\t\t\treturn -EFAULT;\n" "> +\t\tlen -= n;\n" "> +\t}\n" @@ -289,4 +289,4 @@ "\n" Alex -7c5c51021b9f500ec10bba5c3f9d6087a6441fc0d06b8cdbf63e5bc113b4f037 +b6880f751e4e847a358f17a55c5b807c9e282c934a5ed7aa3115abf96acaa7d7
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.