kobject_uevent: fix compile error for send_uevent() stub
Subsystems (2)
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().
Signed-off-by Brett Russ <[email protected]>
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; }