diff options
author | Bo YU <tsu.yubo@gmail.com> | 2018-10-30 08:01:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-11 14:27:43 -0500 |
commit | 6be244dcd59b01245394b62a128901b1cfec468c (patch) | |
tree | 1f4bbc6f2d85f2809d6a1c3209a1f2f703c9c70a | |
parent | e0d70bcb38d7eae5eb4da2db130a29d7007eac74 (diff) |
kobject: Fix warnings in lib/kobject_uevent.c
Add a blank after declaration.
Signed-off-by: Bo YU <tsu.yubo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | lib/kobject_uevent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index 402765c3a9cb..27c6118afd1c 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c | |||
@@ -240,6 +240,7 @@ static int kobj_usermode_filter(struct kobject *kobj) | |||
240 | ops = kobj_ns_ops(kobj); | 240 | ops = kobj_ns_ops(kobj); |
241 | if (ops) { | 241 | if (ops) { |
242 | const void *init_ns, *ns; | 242 | const void *init_ns, *ns; |
243 | |||
243 | ns = kobj->ktype->namespace(kobj); | 244 | ns = kobj->ktype->namespace(kobj); |
244 | init_ns = ops->initial_ns(); | 245 | init_ns = ops->initial_ns(); |
245 | return ns != init_ns; | 246 | return ns != init_ns; |
@@ -390,6 +391,7 @@ static int kobject_uevent_net_broadcast(struct kobject *kobj, | |||
390 | ops = kobj_ns_ops(kobj); | 391 | ops = kobj_ns_ops(kobj); |
391 | if (!ops && kobj->kset) { | 392 | if (!ops && kobj->kset) { |
392 | struct kobject *ksobj = &kobj->kset->kobj; | 393 | struct kobject *ksobj = &kobj->kset->kobj; |
394 | |||
393 | if (ksobj->parent != NULL) | 395 | if (ksobj->parent != NULL) |
394 | ops = kobj_ns_ops(ksobj->parent); | 396 | ops = kobj_ns_ops(ksobj->parent); |
395 | } | 397 | } |