All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20120213135047.GA10683@elgon.mountain>

diff --git a/a/1.txt b/N1/1.txt
index 8777fd1..a05dc21 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -16,7 +16,7 @@ index f3f2d95..0bca51b 100644
 -	struct config_group *ret = NULL;
  
  	hs = kzalloc(sizeof(struct o2hb_heartbeat_group), GFP_KERNEL);
- 	if (hs = NULL)
+ 	if (hs == NULL)
 -		goto out;
 +		return NULL;
  
@@ -25,7 +25,7 @@ index f3f2d95..0bca51b 100644
 -
 -	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 4d0e2be..8a48986 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
- "Subject\0[patch] ocfs2: cleanup error handling in o2hb_alloc_hb_set()\0"
- "Date\0Mon, 13 Feb 2012 13:50:47 +0000\0"
+ "Subject\0[Ocfs2-devel] [patch] ocfs2: cleanup error handling in o2hb_alloc_hb_set()\0"
+ "Date\0Mon, 13 Feb 2012 13:50:59 -0000\0"
  "To\0ocfs2-devel@oss.oracle.com\0"
  "\00:1\0"
  "b\0"
@@ -22,7 +22,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"
@@ -31,7 +31,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"
@@ -39,4 +39,4 @@
  " \n"
   void o2hb_free_hb_set(struct config_group *group)
 
-fe26df8dc4114e94919e0a96f5e8291ee61347b48128ab011f8ce8f449302597
+a37bd05d164b24cc020dbbc92da8fd57491eef879c522c58316c152f607bf9ff

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.