* [PATCH] class_simple cleanup in misc
@ 2004-03-04 4:03 Chris Wright
2004-03-11 1:29 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Chris Wright @ 2004-03-04 4:03 UTC (permalink / raw)
To: greg; +Cc: linux-kernel
Error path doesn't class_simple_destroy.
===== drivers/char/misc.c 1.27 vs edited =====
--- 1.27/drivers/char/misc.c Fri Feb 13 03:15:29 2004
+++ edited/drivers/char/misc.c Wed Mar 3 19:39:51 2004
@@ -342,6 +342,7 @@
if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) {
printk("unable to get major %d for misc devices\n",
MISC_MAJOR);
+ class_simple_destroy(misc_class);
return -EIO;
}
return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] class_simple cleanup in misc
2004-03-04 4:03 [PATCH] class_simple cleanup in misc Chris Wright
@ 2004-03-11 1:29 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-03-11 1:29 UTC (permalink / raw)
To: Chris Wright; +Cc: linux-kernel
On Wed, Mar 03, 2004 at 08:03:13PM -0800, Chris Wright wrote:
> Error path doesn't class_simple_destroy.
Applied, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-11 1:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04 4:03 [PATCH] class_simple cleanup in misc Chris Wright
2004-03-11 1:29 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).