diff for duplicates of <20150210085503.GA10872@sloth> diff --git a/a/1.txt b/N1/1.txt index 92c68c7..f7f4c4a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,7 +19,8 @@ index 8543bb2..230ba08 100644 */ 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); @@ -46,7 +47,8 @@ index 852c288..3cc5f14 100644 */ int oz_isoc_stream_create(struct oz_pd *pd, u8 ep_num) { -- struct oz_isoc_stream *st - kzalloc(sizeof(struct oz_isoc_stream), GFP_ATOMIC); +- struct oz_isoc_stream *st = +- kzalloc(sizeof(struct oz_isoc_stream), GFP_ATOMIC); + struct oz_isoc_stream *st; + + st = kzalloc(sizeof(struct oz_isoc_stream), GFP_ATOMIC); diff --git a/a/content_digest b/N1/content_digest index 9b66e07..6189e18 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Quentin Lambert <lambert.quentin@gmail.com>\0" "Subject\0[PATCH 1/1] staging: ozwpan: Remove allocation from delaration line\0" - "Date\0Tue, 10 Feb 2015 08:55:03 +0000\0" + "Date\0Tue, 10 Feb 2015 09:55:03 +0100\0" "To\0Shigekatsu Tateno <shigekatsu.tateno@atmel.com>" " Greg Kroah-Hartman <gregkh@linuxfoundation.org>\0" "Cc\0kernel-janitors@vger.kernel.org" @@ -29,7 +29,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" @@ -56,7 +57,8 @@ " */\n" " int oz_isoc_stream_create(struct oz_pd *pd, u8 ep_num)\n" " {\n" - "-\tstruct oz_isoc_stream *st -\t\tkzalloc(sizeof(struct oz_isoc_stream), GFP_ATOMIC);\n" + "-\tstruct oz_isoc_stream *st =\n" + "-\t\tkzalloc(sizeof(struct oz_isoc_stream), GFP_ATOMIC);\n" "+\tstruct oz_isoc_stream *st;\n" "+\n" "+\tst = kzalloc(sizeof(struct oz_isoc_stream), GFP_ATOMIC);\n" @@ -67,4 +69,4 @@ "-- \n" 1.9.1 -951628e1ef1947d6a4d2c80ecd7610e3645d2cb597fba9346795d9b8fe4b2543 +03a3beb912ac0422bc13a4da548395974de37e84d220c5acf6f14afba4729983
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.