diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2015-01-12 04:51:13 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2015-01-12 04:51:13 -0500 |
| commit | 2f5eaf66e580f64032b365a00157b6b58c266b37 (patch) | |
| tree | 7852017c864f0eb3833782e2a017952bd8531458 /lib/kobject.c | |
| parent | c291ee622165cb2c8d4e7af63fffd499354a23be (diff) | |
| parent | 91d1179212161f220938198b742c328ad38fd0a3 (diff) | |
Merge tag 'irqchip-urgent-3.19' of git://git.infradead.org/users/jcooper/linux into irq/urgent
irqchip urgent fixes for v3.19 from Jason Cooper
- mtk-sysirq: Fix error handling
- hip04: Fix cpu map for 16bit value
- gic-v3-its: Clear a warning regarding decimal constants
- omap-intc: Fix legacy DMA regression
- atmel-aic-common: Retain priority when changing type
Diffstat (limited to 'lib/kobject.c')
| -rw-r--r-- | lib/kobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index 58751bb80a7c..03d4ab349fa7 100644 --- 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) | |||
| 976 | { | 976 | { |
| 977 | const struct kobj_ns_type_operations *ops = NULL; | 977 | const struct kobj_ns_type_operations *ops = NULL; |
| 978 | 978 | ||
| 979 | if (parent && parent->ktype->child_ns_type) | 979 | if (parent && parent->ktype && parent->ktype->child_ns_type) |
| 980 | ops = parent->ktype->child_ns_type(parent); | 980 | ops = parent->ktype->child_ns_type(parent); |
| 981 | 981 | ||
| 982 | return ops; | 982 | return ops; |
