diff for duplicates of <20150210092412.GA12753@sloth> diff --git a/a/1.txt b/N1/1.txt index bed0915..6d43f9d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,8 @@ index 8543bb2..96e95bf 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); @@ -44,7 +45,8 @@ index 852c288..1c95d57 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 aad5f5f..203f0be 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Quentin Lambert <lambert.quentin@gmail.com>\0" "Subject\0[PATCH v2 1/1] staging: ozwpan: Remove allocation from delaration line\0" - "Date\0Tue, 10 Feb 2015 09:24:12 +0000\0" + "Date\0Tue, 10 Feb 2015 10:24:12 +0100\0" "To\0Shigekatsu Tateno <shigekatsu.tateno@atmel.com>" " Greg Kroah-Hartman <gregkh@linuxfoundation.org>\0" "Cc\0kernel-janitors@vger.kernel.org" @@ -28,7 +28,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" @@ -54,7 +55,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" @@ -64,4 +66,4 @@ "-- \n" 1.9.1 -548788f6cd743c8d909f389f4b025cbcf9d5b689a756803bce5e34e7348c8773 +46e14dcab3cb126ed8c0c38b90dac8ef61993019740c0330e5eb17a578303c11
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.