diff for duplicates of <4F3966EF.9070405@oracle.com> diff --git a/a/1.txt b/N1/1.txt index f1a5187..4277aea 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,7 +21,7 @@ On 02/13/2012 05:50 AM, Dan Carpenter wrote: > - struct config_group *ret = NULL; > > hs = kzalloc(sizeof(struct o2hb_heartbeat_group), GFP_KERNEL); -> if (hs = NULL) +> if (hs == NULL) > - goto out; > + return NULL; > @@ -30,7 +30,7 @@ On 02/13/2012 05:50 AM, Dan Carpenter wrote: > - > - ret =&hs->hs_group; > -out: -> - if (ret = NULL) +> - if (ret == NULL) > - kfree(hs); > - return ret; > + return&hs->hs_group; diff --git a/a/content_digest b/N1/content_digest index 2fb90db..8350af1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020120213135047.GA10683@elgon.mountain\0" "From\0Sunil Mushran <sunil.mushran@oracle.com>\0" - "Subject\0Re: [patch] ocfs2: cleanup error handling in o2hb_alloc_hb_set()\0" - "Date\0Mon, 13 Feb 2012 19:39:27 +0000\0" + "Subject\0[Ocfs2-devel] [patch] ocfs2: cleanup error handling in o2hb_alloc_hb_set()\0" + "Date\0Mon, 13 Feb 2012 11:39:27 -0800\0" "To\0ocfs2-devel@oss.oracle.com\0" "\00:1\0" "b\0" @@ -28,7 +28,7 @@ "> -\tstruct config_group *ret = NULL;\n" ">\n" "> \ths = kzalloc(sizeof(struct o2hb_heartbeat_group), GFP_KERNEL);\n" - "> \tif (hs = NULL)\n" + "> \tif (hs == NULL)\n" "> -\t\tgoto out;\n" "> +\t\treturn NULL;\n" ">\n" @@ -37,7 +37,7 @@ "> -\n" "> -\tret =&hs->hs_group;\n" "> -out:\n" - "> -\tif (ret = NULL)\n" + "> -\tif (ret == NULL)\n" "> -\t\tkfree(hs);\n" "> -\treturn ret;\n" "> +\treturn&hs->hs_group;\n" @@ -45,4 +45,4 @@ ">\n" > void o2hb_free_hb_set(struct config_group *group) -7f59df9b3e9abc9bc0ec89f03059f27900c46e774094cd3871ef94cc63741cce +83b6d7ef54071836394431a2c311786989aece3801e28d0ebd54d536d894ef40
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.