lkml.org 
[lkml]   [2004]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix return value for sysfs_rename_dir stub
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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.030 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site