linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: export of SEQNUM to userspace
Date: Fri, 03 Sep 2004 17:21:57 +0000	[thread overview]
Message-ID: <20040903172156.GA11667@kroah.com> (raw)
In-Reply-To: <20040829203523.GA15526@vrfy.org>

On Fri, Sep 03, 2004 at 03:49:18PM +0200, Kay Sievers wrote:
> Oops, too fast. New patch. Forgot the unusal CONFIG_* combinations.
> 
> !CONFIG_SYSFS goes with:
>   obj-$(CONFIG_SYSFS) += ksysfs.o
> 
> and
> !CONFIG_HOTPLUG needs the ifdef's in ksysfs.c and kobject.h or is
> there any better way?
> 
> Tested compilation of all four combinations and booted with:
> CONFIG_SYSFS + !CONFIG_HOTPLUG.

Hm, we also need to change this:

> -	seq = sequence_num++;
> +	seq = hotplug_seqnum++;

To this:
	seq = ++hotplug_seqnum;

to show the last used sequence number.

I'll make that change and test out the different config options.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&op=click
_______________________________________________
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

  parent reply	other threads:[~2004-09-03 17:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-29 20:35 export of SEQNUM to userspace Kay Sievers
2004-08-31 18:16 ` Greg KH
2004-09-01 22:36 ` Kay Sievers
2004-09-02  8:10 ` Greg KH
2004-09-03  0:21 ` Kay Sievers
2004-09-03  9:04 ` Greg KH
2004-09-03  9:22 ` Kay Sievers
2004-09-03 13:49 ` Kay Sievers
2004-09-03 17:21 ` Greg KH [this message]
2004-10-08 14:43 ` David Zeuthen
2004-10-08 21:05 ` 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=20040903172156.GA11667@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).