All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1423579319.8339.1.camel@perches.com>

diff --git a/a/1.txt b/N1/1.txt
index 3cde145..b101881 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -5,7 +5,8 @@ On Tue, 2015-02-10 at 13:13 +0300, Dan Carpenter wrote:
 > >   */
 > >  static struct oz_endpoint *oz_ep_alloc(int buffer_size, gfp_t mem_flags)
 > >  {
-> > -	struct oz_endpoint *ep > > -		kzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);
+> > -	struct oz_endpoint *ep =
+> > -		kzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);
 > > +	struct oz_endpoint *ep;
 > > +
 > > +	ep = kzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);
@@ -21,7 +22,8 @@ The current function also tests the return of ep slightly backwards.
 
 static struct oz_endpoint *oz_ep_alloc(int buffer_size, gfp_t mem_flags)
 {
-	struct oz_endpoint *ep 		kzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);
+	struct oz_endpoint *ep =
+		kzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);
 	if (ep) {
 		INIT_LIST_HEAD(&ep->urb_list);
 		INIT_LIST_HEAD(&ep->link);
diff --git a/a/content_digest b/N1/content_digest
index 9c40dac..d72a33f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020150210101312.GG5206@mwanda\0"
  "From\0Joe Perches <joe@perches.com>\0"
  "Subject\0Re: [PATCH v2 1/1] staging: ozwpan: Remove allocation from delaration line\0"
- "Date\0Tue, 10 Feb 2015 14:41:59 +0000\0"
+ "Date\0Tue, 10 Feb 2015 06:41:59 -0800\0"
  "To\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Cc\0Quentin Lambert <lambert.quentin@gmail.com>"
   Shigekatsu Tateno <shigekatsu.tateno@atmel.com>
@@ -19,7 +19,8 @@
  "> >   */\n"
  "> >  static struct oz_endpoint *oz_ep_alloc(int buffer_size, gfp_t mem_flags)\n"
  "> >  {\n"
- "> > -\tstruct oz_endpoint *ep > > -\t\tkzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);\n"
+ "> > -\tstruct oz_endpoint *ep =\n"
+ "> > -\t\tkzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);\n"
  "> > +\tstruct oz_endpoint *ep;\n"
  "> > +\n"
  "> > +\tep = kzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);\n"
@@ -35,7 +36,8 @@
  "\n"
  "static struct oz_endpoint *oz_ep_alloc(int buffer_size, gfp_t mem_flags)\n"
  "{\n"
- "\tstruct oz_endpoint *ep \t\tkzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);\n"
+ "\tstruct oz_endpoint *ep =\n"
+ "\t\tkzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags);\n"
  "\tif (ep) {\n"
  "\t\tINIT_LIST_HEAD(&ep->urb_list);\n"
  "\t\tINIT_LIST_HEAD(&ep->link);\n"
@@ -72,4 +74,4 @@
  "Maybe buffer_size should be size_t too to avoid\n"
  possible negative values.
 
-365003154d689534a2d8e300ee0efdba8085e2ceaa0f5f087f8eca6528fba8e9
+d0bec308ad471e2122f27b0b4a3626a67ce616876184fa49fe329a921899de0f

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.