[PATCH 2.6.10-rc1] kobject_uevent: fix compile error for send_uevent()stub
From: Brett Russ
Date: Wed Nov 03 2004 - 16:44:31 EST
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 <russb@xxxxxxx>
--- linux-2.5/lib/kobject_uevent.c 2004-11-03 14:32:49.000000000 -0500
+++ linux/lib/kobject_uevent.c 2004-11-03 15:59:06.000000000 -0500
@@ -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;
}
-
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/