Skip to contentSkip to conversation

kobject_uevent: fix compile error for send_uevent() stub

PATCH New Brett Russ 1 participant 1 message Nov 3, 2004

Subsystems (2)
lore
Share & tools
lore

Brett Russ

author
#0 lore raw

PATCH 1/1 kobject_uevent: fix compile error for send_uevent() stub

Found when attempting compile of fresh linux-2.5 bk with CONFIG_HOTPLUG on but CONFIG_KOBJECT_UEVENT off. Stub declaration didn't match implementation of send_uevent().

lib/kobject_uevent.c 2004-11-03 15:59:06.000000000 -0500 renamed from lib/kobject_uevent.c 2004-11-03 14:32:49.000000000 -0500 +1 -1
@@ -168,7 +168,7 @@
 
 #else
 static inline int send_uevent(const char *signal, const char *obj,
-                             const void *buf, int buflen, int gfp_mask)
+                             char **envp, int gfp_mask)
 {
        return 0;
 }