dev_add_child is a very unsafe function. If called multiple times
it allows setting the same device to different parents thus corrupting
the siblings list. This happens regularly since:
| commit
|
||
---|---|---|
.. | ||
algos | ||
busses | ||
Kconfig | ||
Makefile | ||
i2c.c |