projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nft_hash: Remove rhashtable_remove_pprev()
[firefly-linux-kernel-4.4.55.git]
/
lib
/
kobject.c
diff --git
a/lib/kobject.c
b/lib/kobject.c
index 58751bb80a7cbbe905c7d4e752df641ae2240b51..03d4ab349fa749cd907291cc8e36641522d86241 100644
(file)
--- a/
lib/kobject.c
+++ b/
lib/kobject.c
@@
-976,7
+976,7
@@
const struct kobj_ns_type_operations *kobj_child_ns_ops(struct kobject *parent)
{
const struct kobj_ns_type_operations *ops = NULL;
{
const struct kobj_ns_type_operations *ops = NULL;
- if (parent && parent->ktype->child_ns_type)
+ if (parent && parent->ktype
&& parent->ktype
->child_ns_type)
ops = parent->ktype->child_ns_type(parent);
return ops;
ops = parent->ktype->child_ns_type(parent);
return ops;