All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5306009D.8040205@bfs.de>

diff --git a/a/1.txt b/N1/1.txt
index 83c7b46..b14c9e4 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -32,7 +32,7 @@ Am 20.02.2014 14:07, schrieb Paolo Bonzini:
 >  	/* when no next entry is found, the current entry[i] is reselected */
 > -	for (j = i + 1; ; j = (j + 1) % nent) {
 > -		struct kvm_cpuid_entry2 *ej = &vcpu->arch.cpuid_entries[j];
-> -		if (ej->function = e->function) {
+> -		if (ej->function == e->function) {
 > -			ej->flags |= KVM_CPUID_FLAG_STATE_READ_NEXT;
 > -			return j;
 > -		}
@@ -54,7 +54,7 @@ Am 20.02.2014 14:07, schrieb Paolo Bonzini:
 
 Is there any guaranty that this will not loop forever ?
 
-an if (i=j) return 0; would be on the save side. (I guess that
+an if (i==j) return 0; would be on the save side. (I guess that
 these was the idea behind the for).
 
 re,
diff --git a/a/content_digest b/N1/content_digest
index e46d50d..6dc9991 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\05305FE1E.6060902@redhat.com\0"
  "From\0walter harms <wharms@bfs.de>\0"
  "Subject\0Re: [patch RFC] kvm, cpuid: silence a buffer overflow warning\0"
- "Date\0Thu, 20 Feb 2014 13:18:21 +0000\0"
+ "Date\0Thu, 20 Feb 2014 14:18:21 +0100\0"
  "To\0Paolo Bonzini <pbonzini@redhat.com>\0"
  "Cc\0Dan Carpenter <dan.carpenter@oracle.com>"
   Gleb Natapov <gleb@kernel.org>
@@ -48,7 +48,7 @@
  ">  \t/* when no next entry is found, the current entry[i] is reselected */\n"
  "> -\tfor (j = i + 1; ; j = (j + 1) % nent) {\n"
  "> -\t\tstruct kvm_cpuid_entry2 *ej = &vcpu->arch.cpuid_entries[j];\n"
- "> -\t\tif (ej->function = e->function) {\n"
+ "> -\t\tif (ej->function == e->function) {\n"
  "> -\t\t\tej->flags |= KVM_CPUID_FLAG_STATE_READ_NEXT;\n"
  "> -\t\t\treturn j;\n"
  "> -\t\t}\n"
@@ -70,7 +70,7 @@
  "\n"
  "Is there any guaranty that this will not loop forever ?\n"
  "\n"
- "an if (i=j) return 0; would be on the save side. (I guess that\n"
+ "an if (i==j) return 0; would be on the save side. (I guess that\n"
  "these was the idea behind the for).\n"
  "\n"
  "re,\n"
@@ -83,4 +83,4 @@
  "> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"
  >
 
-e99c6aae076f35abe70bd52a18d5d4f8658ed83a7e46ae4324e063e448106344
+0c2ef9abf701ec80e4220820226c47f902d081b79d1b730aef25dd5e523e4dc4

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.