summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-02-15 11:11:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-15 11:11:47 -0800
commit9682ec9692e5ac11c6caebd079324e727b19e7ce (patch)
tree16b25351557cd028913fc2c225e2db0175d750b6 /fs/sysfs
parent4ba63072b998cc31515cc6305c25f3b808b50c01 (diff)
parentadf305f77878880fa5868a7179979da93be68d83 (diff)
downloadlinux-stable-9682ec9692e5ac11c6caebd079324e727b19e7ce.tar.gz
linux-stable-9682ec9692e5ac11c6caebd079324e727b19e7ce.tar.bz2
linux-stable-9682ec9692e5ac11c6caebd079324e727b19e7ce.zip
Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core patches from Greg KH: "Really tiny set of patches for this kernel. Nothing major, all described in the shortlog and have been in linux-next for a while" * tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: sysfs: fix warning when creating a sysfs group without attributes firmware_loader: handle timeout via wait_for_completion_interruptible_timeout() firmware_loader: abort request if wait_for_completion is interrupted firmware: Correct function name in comment device: Change dev_<level> logging functions to return void device: Fix dev_dbg_once macro
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index 7d2a860ba788..2554d8835b48 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -99,7 +99,7 @@ static int internal_create_group(struct kobject *kobj, int update,
return -EINVAL;
if (!grp->attrs && !grp->bin_attrs) {
WARN(1, "sysfs: (bin_)attrs not set by subsystem for group: %s/%s\n",
- kobj->name, grp->name ? "" : grp->name);
+ kobj->name, grp->name ?: "");
return -EINVAL;
}
if (grp->name) {