[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200701251317.l0PDHFV7025442@moth.iki.fi>
Date: Thu, 25 Jan 2007 15:17:15 +0200
From: Markku Savela <msa@...h.iki.fi>
To: msa@...h.iki.fi
CC: greg@...ah.com, linux-kernel@...r.kernel.org
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists