Re: [PATCH] Driver Core patches for 2.6.9

From: Greg KH
Date: Tue Oct 19 2004 - 14:04:17 EST


ChangeSet 1.1832.55.5, 2004/09/04 01:20:44+02:00, greg@xxxxxxxxx

kobject: adjust hotplug_seqnum increment to keep userspace and kernel agreeing.


lib/kobject.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/lib/kobject.c b/lib/kobject.c
--- a/lib/kobject.c 2004-10-19 09:23:30 -07:00
+++ b/lib/kobject.c 2004-10-19 09:23:30 -07:00
@@ -178,7 +178,7 @@
scratch += sprintf(scratch, "ACTION=%s", action) + 1;

spin_lock(&sequence_lock);
- seq = hotplug_seqnum++;
+ seq = ++hotplug_seqnum;
spin_unlock(&sequence_lock);

envp [i++] = scratch;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/