diff for duplicates of <20060729201555.GB8574@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index 576b9e0..793dbbd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -35,7 +35,7 @@ Signed-off-by: Neil Horman <nhorman@tuxdriver.com> @@ -699,7 +699,9 @@ static int __devinit media_bay_attach(st /* Startup kernel thread */ - if (i = 0) + if (i == 0) - kernel_thread(media_bay_task, NULL, CLONE_KERNEL); + if (kernel_thread(media_bay_task, NULL, CLONE_KERNEL) < 0) + printk(KERN_WARNING "Could not start kernel thread at %s:%d\n", @@ -120,9 +120,3 @@ Signed-off-by: Neil Horman <nhorman@tuxdriver.com> + return ret; class_create_file(bt_class, &class_attr_rfcomm_dlc); - - -_______________________________________________ -Kernel-janitors mailing list -Kernel-janitors@lists.osdl.org -https://lists.osdl.org/mailman/listinfo/kernel-janitors diff --git a/a/content_digest b/N1/content_digest index aa60c9a..04ed504 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020060729201139.GA8574@localhost.localdomain\0" "From\0Neil Horman <nhorman@tuxdriver.com>\0" "Subject\0Re: [KJ] (re) audit return code handling for kernel_thread [1/3]\0" - "Date\0Sat, 29 Jul 2006 20:15:55 +0000\0" + "Date\0Sat, 29 Jul 2006 16:15:55 -0400\0" "To\0kernel-janitors@lists.osdl.org" linux-kernel@vger.kernel.org torvalds@osdl.org @@ -50,7 +50,7 @@ "@@ -699,7 +699,9 @@ static int __devinit media_bay_attach(st\n" " \n" " \t/* Startup kernel thread */\n" - " \tif (i = 0)\n" + " \tif (i == 0)\n" "-\t\tkernel_thread(media_bay_task, NULL, CLONE_KERNEL);\n" "+\t\tif (kernel_thread(media_bay_task, NULL, CLONE_KERNEL) < 0)\n" "+\t\t\tprintk(KERN_WARNING \"Could not start kernel thread at %s:%d\\n\",\n" @@ -134,12 +134,6 @@ "+\tif (ret < 0)\n" "+\t\treturn ret;\n" " \n" - " \tclass_create_file(bt_class, &class_attr_rfcomm_dlc);\n" - " \n" - "\n" - "_______________________________________________\n" - "Kernel-janitors mailing list\n" - "Kernel-janitors@lists.osdl.org\n" - https://lists.osdl.org/mailman/listinfo/kernel-janitors + " \tclass_create_file(bt_class, &class_attr_rfcomm_dlc);" -8a6fd6b10a1f0a41b6cceb1badf04529e206c2d4fd8ea16ba1f64691b573cb26 +d695a5b3784bedc5a9901901e864aac6fc08a83fcb547903650b78cba3619395
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.