Dan Carpenter writes:
> We add a new of_node_get() to this function, but we should drop the
> reference if kobject_add().
^
fails?
>
> Fixes: 5b2c2f5a0ea3 ("of: overlay: add missing of_node_get() in
> __of_attach_node_sysfs")
>
We add a new of_node_get() to this function, but we should drop the
reference if kobject_add().
Fixes: 5b2c2f5a0ea3 ("of: overlay: add missing of_node_get() in
__of_attach_node_sysfs")
Signed-off-by: Dan Carpenter
---
>From static analysis. Maybe we should just call of_node_get() right
before
2 matches
Mail list logo