Messages in this thread | | | Date | Thu, 25 Jan 2007 15:17:15 +0200 | From | Markku Savela <> | Subject | Re: How to get /dev entry created automaticly for dynamic major number? |
| |
Oops!
The error exits are not right in foo_init (need to release anything succesfully created, if later operations fail). Probably need to make the current foo_exit into foo_cleanup and call it in real foo_exit and in any errors at foo_init.
But, again thanks for the help. I consider the "case closed" now.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |