* [PATCH] fix return value for sysfs_rename_dir stub
@ 2004-05-20 18:57 Stephen Hemminger
0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2004-05-20 18:57 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
sysfs_rename_dir changed to return a value. The stub was not updated.
This causes compile failure for !CONFIG_SYSFS in lib/kobject.c
--- linux-2.6/include/linux/sysfs.h 2004-05-18 11:37:34.000000000 -0700
+++ bridge-2.6/include/linux/sysfs.h 2004-05-20 11:46:02.814243528 -0700
@@ -80,9 +80,9 @@
;
}
-static inline void sysfs_rename_dir(struct kobject * k, const char *new_name)
+static inline int sysfs_rename_dir(struct kobject * k, const char *new_name)
{
- ;
+ return 0;
}
static inline int sysfs_create_file(struct kobject * k, const struct attribute * a)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-21 23:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20 18:57 [PATCH] fix return value for sysfs_rename_dir stub Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®