diff for duplicates of <4C52C7B9.7000209@ti.com> diff --git a/a/1.txt b/N1/1.txt index 5d26adb..3d86c66 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,7 +20,7 @@ Kulikov Vasiliy had written, on 07/30/2010 06:09 AM, the following: > if (target_obj != NULL) { > + /* Allocate DBL target object */ > + pzl_target = kzalloc(sizeof(struct dbll_tar_obj), GFP_KERNEL); -> if (pzl_target = NULL) { +> if (pzl_target == NULL) { > *target_obj = NULL; > status = -ENOMEM; I would suggest to add a else branch for if (target_obj != NULL) adding diff --git a/a/content_digest b/N1/content_digest index 70f2e8d..c2e20d7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01280488163-20939-1-git-send-email-segooon@gmail.com\0" "From\0Nishanth Menon <nm@ti.com>\0" "Subject\0Re: [PATCH 7/9] staging: tidspbridge: fix memory leak\0" - "Date\0Fri, 30 Jul 2010 12:38:17 +0000\0" + "Date\0Fri, 30 Jul 2010 07:38:17 -0500\0" "To\0Kulikov Vasiliy <segooon@gmail.com>\0" "Cc\0kernel-janitors@vger.kernel.org <kernel-janitors@vger.kernel.org>" Greg Kroah-Hartman <gregkh@suse.de> @@ -37,7 +37,7 @@ "> \tif (target_obj != NULL) {\n" "> +\t\t/* Allocate DBL target object */\n" "> +\t\tpzl_target = kzalloc(sizeof(struct dbll_tar_obj), GFP_KERNEL);\n" - "> \t\tif (pzl_target = NULL) {\n" + "> \t\tif (pzl_target == NULL) {\n" "> \t\t\t*target_obj = NULL;\n" "> \t\t\tstatus = -ENOMEM;\n" "I would suggest to add a else branch for if (target_obj != NULL) adding \n" @@ -50,4 +50,4 @@ "Regards,\n" Nishanth Menon -173de81e3a2e061daec04b9f7789916d5cc4c87138a31e2396b369cab5e2677e +1d13acf1db4c4e9aecfd81b6fa4f083af64dcc7f39112fd7e844a605a18f3018
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.