From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 28 Sep 2004 01:28:01 +0000 Subject: Re: NULL arg for get_device() / put_device() Message-Id: <20040928012801.GA11125@kroah.com> List-Id: References: <415805DD.4040708@suse.de> In-Reply-To: <415805DD.4040708@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Sep 27, 2004 at 02:21:49PM +0200, Hannes Reinecke wrote: > Hi all, > > is there a specific reason that get_device accepts NULL as argument, > whereas put_device() does not? Um, I guess I never thought about it :) I don't see why it wouldn't take it, feel free to send a patch. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel