Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 574979c6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

sysfs: sysfs_create_groups returns a value.



When I included the "empty" function for sysfs_create_groups() when
CONFIG_SYSFS=n, I forgot to return a value for it, so things blew up the
build.  This patch fixes that, stupid me.

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3159269e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -353,6 +353,7 @@ static inline int sysfs_create_group(struct kobject *kobj,
static inline int sysfs_create_groups(struct kobject *kobj,
				      const struct attribute_group **groups)
{
	return 0;
}

static inline int sysfs_update_group(struct kobject *kobj,