diff for duplicates of <20150210134327.GA15535@sudip-PC> diff --git a/a/1.txt b/N1/1.txt index 8b4bf5c..ed7d9d9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,8 @@ On Tue, Feb 10, 2015 at 02:02:14PM +0100, Quentin Lambert wrote: > static struct parahotplug_request * > parahotplug_request_create(struct controlvm_message *msg) > { -> - struct parahotplug_request *req > - kmalloc(sizeof(struct parahotplug_request), +> - struct parahotplug_request *req = +> - kmalloc(sizeof(struct parahotplug_request), > - GFP_KERNEL|__GFP_NORETRY); > + struct parahotplug_request *req; > + @@ -29,7 +30,7 @@ then this will not give you checkpatch warning of line over 80 char. regards sudip -> if (req = NULL) +> if (req == NULL) > return NULL; <snip> > return NULL; diff --git a/a/content_digest b/N1/content_digest index 29a4c4c..38826a9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020150210130214.GA18429@sloth\0" "From\0Sudip Mukherjee <sudipm.mukherjee@gmail.com>\0" "Subject\0Re: [PATCH 1/1] staging: unisys: Remove allocation from declaration line\0" - "Date\0Tue, 10 Feb 2015 13:55:27 +0000\0" + "Date\0Tue, 10 Feb 2015 19:13:27 +0530\0" "To\0Quentin Lambert <lambert.quentin@gmail.com>\0" "Cc\0Benjamin Romer <benjamin.romer@unisys.com>" David Kershner <david.kershner@unisys.com> @@ -31,7 +31,8 @@ "> static struct parahotplug_request *\n" "> parahotplug_request_create(struct controlvm_message *msg)\n" "> {\n" - "> -\tstruct parahotplug_request *req > -\t kmalloc(sizeof(struct parahotplug_request),\n" + "> -\tstruct parahotplug_request *req =\n" + "> -\t kmalloc(sizeof(struct parahotplug_request),\n" "> -\t\t GFP_KERNEL|__GFP_NORETRY);\n" "> +\tstruct parahotplug_request *req;\n" "> +\n" @@ -43,7 +44,7 @@ "regards\n" "sudip\n" "\n" - "> \tif (req = NULL)\n" + "> \tif (req == NULL)\n" "> \t\treturn NULL;\n" "<snip>\t\n" "> \t\treturn NULL;\n" @@ -56,4 +57,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > Please read the FAQ at http://www.tux.org/lkml/ -faf725535b47272c149df6def63e4a1fce641440358a9e14eb71c5e4dcb4e845 +44aad74a694adfa42a1094a007c803c9cb5712b793633a7302008f40105e4202
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.