diff for duplicates of <4F8DBDAD.50507@oldelvet.org.uk> diff --git a/a/1.txt b/N1/1.txt index da01cae..8fc2ce4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -378,7 +378,7 @@ ditto for use of r_TMP > +{ > +#ifdef CONFIG_SPARC64 > + /* Cheetah's I-cache is fully coherent. */ -> + if (tlb_type = spitfire) { +> + if (tlb_type == spitfire) { > + unsigned long start = (unsigned long) start_; > + unsigned long end = (unsigned long) end_; > + @@ -690,7 +690,7 @@ ditto for use of r_TMP > + return; > + > + addrs = kmalloc(flen * sizeof(*addrs), GFP_KERNEL); -> + if (addrs = NULL) +> + if (addrs == NULL) > + return; > + > + /* Before first pass, make a rough estimation of addrs[] @@ -703,7 +703,7 @@ ditto for use of r_TMP > + cleanup_addr = proglen; /* epilogue address */ > + image = NULL; > + for (pass = 0; pass< 10; pass++) { -> + u8 seen_or_pass0 = (pass = 0) ? (SEEN_XREG | SEEN_DATAREF | SEEN_MEM) : seen; +> + u8 seen_or_pass0 = (pass == 0) ? (SEEN_XREG | SEEN_DATAREF | SEEN_MEM) : seen; > + > + /* no prologue/epilogue for trivial filters (RET something) */ > + proglen = 0; @@ -851,7 +851,7 @@ ditto for use of r_TMP > + break; > + case BPF_S_RET_K: > + if (!K) { -> + if (pc_ret0 = -1) +> + if (pc_ret0 == -1) > + pc_ret0 = i; > + emit_clear(r_A); > + } else { @@ -1005,7 +1005,7 @@ ditto for use of r_TMP > + t_offset = addrs[i + filter[i].jt]; > + > + /* same targets, can avoid doing the test :) */ -> + if (filter[i].jt = filter[i].jf) { +> + if (filter[i].jt == filter[i].jf) { > + emit_jump(t_offset); > + emit_nop(); > + break; @@ -1087,7 +1087,7 @@ ditto for use of r_TMP > + proglen, oldproglen); > + break; > + } -> + if (proglen = oldproglen) { +> + if (proglen == oldproglen) { > + image = module_alloc(max_t(unsigned int, > + proglen, > + sizeof(struct work_struct))); diff --git a/a/content_digest b/N1/content_digest index bbf940d..614d0d2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020120416.225823.1395194623649559124.davem@davemloft.net\0" "From\0Richard Mortimer <richm@oldelvet.org.uk>\0" "Subject\0Re: [PATCH] net: filter: Just In Time compiler for sparc\0" - "Date\0Tue, 17 Apr 2012 18:59:57 +0000\0" + "Date\0Tue, 17 Apr 2012 19:59:57 +0100\0" "To\0David Miller <davem@davemloft.net>\0" "Cc\0netdev@vger.kernel.org" " sparclinux@vger.kernel.org\0" @@ -387,7 +387,7 @@ "> +{\n" "> +#ifdef CONFIG_SPARC64\n" "> +\t/* Cheetah's I-cache is fully coherent. */\n" - "> +\tif (tlb_type = spitfire) {\n" + "> +\tif (tlb_type == spitfire) {\n" "> +\t\tunsigned long start = (unsigned long) start_;\n" "> +\t\tunsigned long end = (unsigned long) end_;\n" "> +\n" @@ -699,7 +699,7 @@ "> +\t\treturn;\n" "> +\n" "> +\taddrs = kmalloc(flen * sizeof(*addrs), GFP_KERNEL);\n" - "> +\tif (addrs = NULL)\n" + "> +\tif (addrs == NULL)\n" "> +\t\treturn;\n" "> +\n" "> +\t/* Before first pass, make a rough estimation of addrs[]\n" @@ -712,7 +712,7 @@ "> +\tcleanup_addr = proglen; /* epilogue address */\n" "> +\timage = NULL;\n" "> +\tfor (pass = 0; pass< 10; pass++) {\n" - "> +\t\tu8 seen_or_pass0 = (pass = 0) ? (SEEN_XREG | SEEN_DATAREF | SEEN_MEM) : seen;\n" + "> +\t\tu8 seen_or_pass0 = (pass == 0) ? (SEEN_XREG | SEEN_DATAREF | SEEN_MEM) : seen;\n" "> +\n" "> +\t\t/* no prologue/epilogue for trivial filters (RET something) */\n" "> +\t\tproglen = 0;\n" @@ -860,7 +860,7 @@ "> +\t\t\t\tbreak;\n" "> +\t\t\tcase BPF_S_RET_K:\n" "> +\t\t\t\tif (!K) {\n" - "> +\t\t\t\t\tif (pc_ret0 = -1)\n" + "> +\t\t\t\t\tif (pc_ret0 == -1)\n" "> +\t\t\t\t\t\tpc_ret0 = i;\n" "> +\t\t\t\t\temit_clear(r_A);\n" "> +\t\t\t\t} else {\n" @@ -1014,7 +1014,7 @@ "> +\t\t\t\tt_offset = addrs[i + filter[i].jt];\n" "> +\n" "> +\t\t\t\t/* same targets, can avoid doing the test :) */\n" - "> +\t\t\t\tif (filter[i].jt = filter[i].jf) {\n" + "> +\t\t\t\tif (filter[i].jt == filter[i].jf) {\n" "> +\t\t\t\t\temit_jump(t_offset);\n" "> +\t\t\t\t\temit_nop();\n" "> +\t\t\t\t\tbreak;\n" @@ -1096,7 +1096,7 @@ "> +\t\t\t\t proglen, oldproglen);\n" "> +\t\t\tbreak;\n" "> +\t\t}\n" - "> +\t\tif (proglen = oldproglen) {\n" + "> +\t\tif (proglen == oldproglen) {\n" "> +\t\t\timage = module_alloc(max_t(unsigned int,\n" "> +\t\t\t\t\t\t proglen,\n" "> +\t\t\t\t\t\t sizeof(struct work_struct)));\n" @@ -1140,4 +1140,4 @@ "> +\t}\n" > +} -4a7efc9c3d724bafd9e34487503dc0f104204f68d292245dcfc9c51a408f3798 +01939a13333d266462b7a5315106297af1d542320c777ec9c16c33c2b305f09d
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.