All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: NULL arg for get_device() / put_device()
Date: Tue, 28 Sep 2004 01:28:01 +0000	[thread overview]
Message-ID: <20040928012801.GA11125@kroah.com> (raw)
In-Reply-To: <415805DD.4040708@suse.de>

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

  reply	other threads:[~2004-09-28  1:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-27 12:21 NULL arg for get_device() / put_device() Hannes Reinecke
2004-09-28  1:28 ` Greg KH [this message]
2004-09-28  7:03   ` [PATCH] " Hannes Reinecke
2004-09-28  7:03     ` Hannes Reinecke
2004-09-29 23:27     ` Greg KH
2004-09-29 23:27       ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040928012801.GA11125@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.