All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Andrew Morton <akpm@osdl.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	pavel@suse.cz, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -mm] swsusp: userland interface
Date: Mon, 16 Jan 2006 09:45:17 -0800	[thread overview]
Message-ID: <20060116174517.GA1121@kroah.com> (raw)
In-Reply-To: <20060115234300.159688f7.akpm@osdl.org>

On Sun, Jan 15, 2006 at 11:43:00PM -0800, Andrew Morton wrote:
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> > The patch assumes that the major and minor numbers of the snapshot device
> > will be 10 (ie. misc device) and 231, the registration of which has already been
> > requested.
> 
> Why does it need a statically-allocated major and minor?  misc_register()
> will generate a uevent and the device node should just appear...

Not everyone uses udev, so for things that are going to be in the kernel
tree, it's good to still register a major/minor number for them.

thanks,

greg k-h

      parent reply	other threads:[~2006-01-16 18:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-15 17:31 [PATCH -mm] swsusp: userland interface Rafael J. Wysocki
2006-01-16  7:43 ` Andrew Morton
2006-01-16  9:48   ` Pavel Machek
2006-01-16 17:45   ` Greg KH [this message]

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=20060116174517.GA1121@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=rjw@sisk.pl \
    /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.