diff for duplicates of <4BF7A65D.1070501@bfs.de> diff --git a/a/1.txt b/N1/1.txt index 6933403..27dae39 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ Julia Lawall schrieb: -> From: Julia Lawall <julia@diku.dk> +> From: Julia Lawall <julia-dAYI7NvHqcQ@public.gmane.org> > > Use memdup_user when user data is immediately copied into the > allocated region. @@ -19,7 +19,7 @@ Julia Lawall schrieb: > - to = \(kmalloc@p\|kzalloc@p\)(size,flag); > + to = memdup_user(from,size); > if ( -> - to=NULL +> - to==NULL > + IS_ERR(to) > || ...) { > <+... when != goto l1; @@ -34,7 +34,7 @@ Julia Lawall schrieb: > - } > // </smpl> > -> Signed-off-by: Julia Lawall <julia@diku.dk> +> Signed-off-by: Julia Lawall <julia-dAYI7NvHqcQ@public.gmane.org> > > --- > drivers/infiniband/core/ucm.c | 11 +++-------- @@ -69,3 +69,11 @@ This cast look strange, can it happen that (unsigned long)<(u64) ? just my 2 cents, wh + + + + +-- +To unsubscribe from this list: send the line "unsubscribe linux-rdma" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 9072b10..352ae14 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\0Pine.LNX.4.64.1005221021030.13021@ask.diku.dk\0" "ref\0Pine.LNX.4.64.1005221021030.13021-QfmoRoYWmW9knbxzx/v8hQ@public.gmane.org\0" - "From\0walter harms <wharms@bfs.de>\0" + "From\0walter harms <wharms-fPG8STNUNVg@public.gmane.org>\0" "Subject\0Re: [PATCH 10/27] drivers/infiniband/core: Use memdup_user\0" - "Date\0Sat, 22 May 2010 09:39:41 +0000\0" + "Date\0Sat, 22 May 2010 11:39:41 +0200\0" "To\0Julia Lawall <julia-dAYI7NvHqcQ@public.gmane.org>\0" "Cc\0Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>" Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @@ -15,7 +15,7 @@ "\n" "\n" "Julia Lawall schrieb:\n" - "> From: Julia Lawall <julia@diku.dk>\n" + "> From: Julia Lawall <julia-dAYI7NvHqcQ@public.gmane.org>\n" "> \n" "> Use memdup_user when user data is immediately copied into the\n" "> allocated region.\n" @@ -33,7 +33,7 @@ "> - to = \\(kmalloc@p\\|kzalloc@p\\)(size,flag);\n" "> + to = memdup_user(from,size);\n" "> if (\n" - "> - to=NULL\n" + "> - to==NULL\n" "> + IS_ERR(to)\n" "> || ...) {\n" "> <+... when != goto l1;\n" @@ -48,7 +48,7 @@ "> - }\n" "> // </smpl>\n" "> \n" - "> Signed-off-by: Julia Lawall <julia@diku.dk>\n" + "> Signed-off-by: Julia Lawall <julia-dAYI7NvHqcQ@public.gmane.org>\n" "> \n" "> ---\n" "> drivers/infiniband/core/ucm.c | 11 +++--------\n" @@ -82,6 +82,14 @@ "(is there a 32bit infiniband) ?\n" "\n" "just my 2 cents,\n" - wh + " wh\n" + "\n" + "\n" + "\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-rdma\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -2a417de03c4db969c61fdf4cbb48e0fdf09ca7215a7661648bfb5125ae3fe63e +f8cfe23c23c2b01e0175f64165ee94190915b32fd3288b612ac824c3f65c0a93
diff --git a/a/1.txt b/N2/1.txt index 6933403..acdea05 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -19,7 +19,7 @@ Julia Lawall schrieb: > - to = \(kmalloc@p\|kzalloc@p\)(size,flag); > + to = memdup_user(from,size); > if ( -> - to=NULL +> - to==NULL > + IS_ERR(to) > || ...) { > <+... when != goto l1; diff --git a/a/content_digest b/N2/content_digest index 9072b10..9b89471 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,15 +1,14 @@ "ref\0Pine.LNX.4.64.1005221021030.13021@ask.diku.dk\0" - "ref\0Pine.LNX.4.64.1005221021030.13021-QfmoRoYWmW9knbxzx/v8hQ@public.gmane.org\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH 10/27] drivers/infiniband/core: Use memdup_user\0" - "Date\0Sat, 22 May 2010 09:39:41 +0000\0" - "To\0Julia Lawall <julia-dAYI7NvHqcQ@public.gmane.org>\0" - "Cc\0Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>" - Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> - Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> - linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" + "Date\0Sat, 22 May 2010 11:39:41 +0200\0" + "To\0Julia Lawall <julia@diku.dk>\0" + "Cc\0Roland Dreier <rolandd@cisco.com>" + Sean Hefty <sean.hefty@intel.com> + Hal Rosenstock <hal.rosenstock@gmail.com> + linux-rdma@vger.kernel.org + linux-kernel@vger.kernel.org + " kernel-janitors@vger.kernel.org\0" "\00:1\0" "b\0" "\n" @@ -33,7 +32,7 @@ "> - to = \\(kmalloc@p\\|kzalloc@p\\)(size,flag);\n" "> + to = memdup_user(from,size);\n" "> if (\n" - "> - to=NULL\n" + "> - to==NULL\n" "> + IS_ERR(to)\n" "> || ...) {\n" "> <+... when != goto l1;\n" @@ -84,4 +83,4 @@ "just my 2 cents,\n" wh -2a417de03c4db969c61fdf4cbb48e0fdf09ca7215a7661648bfb5125ae3fe63e +ce5d3330a0bf6ae68faadb9d070668ceb0b0c457b8d1d96b51a4265ddef010db
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.