Page MenuHomeFreeBSD

D43022.diff
No OneTemporary

D43022.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/sysfs.h b/sys/compat/linuxkpi/common/include/linux/sysfs.h
--- a/sys/compat/linuxkpi/common/include/linux/sysfs.h
+++ b/sys/compat/linuxkpi/common/include/linux/sysfs.h
@@ -152,6 +152,15 @@
sysctl_remove_name(kobj->oidp, attr->name, 1, 1);
}
+static inline int
+sysfs_create_link(struct kobject *kobj __unused,
+ struct kobject *target __unused, const char *name __unused)
+{
+ /* TODO */
+
+ return (0);
+}
+
static inline int
sysfs_create_files(struct kobject *kobj, const struct attribute * const *attrs)
{

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 2:26 AM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15915888
Default Alt Text
D43022.diff (577 B)

Event Timeline