mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // <smpl> @@ expression root,e; local idexpression child; @@ for_each_available_child_of_node(root, child) { ... when != of_node_put(child) when != e = child ( return child; | + of_node_put(child); ? return ...; ) ... } // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
| .. | ||
| accel | ||
| adc | ||
| amplifiers | ||
| buffer | ||
| chemical | ||
| common | ||
| dac | ||
| frequency | ||
| gyro | ||
| humidity | ||
| imu | ||
| light | ||
| magnetometer | ||
| orientation | ||
| potentiometer | ||
| pressure | ||
| proximity | ||
| temperature | ||
| trigger | ||
| iio_core.h | ||
| iio_core_trigger.h | ||
| industrialio-buffer.c | ||
| industrialio-core.c | ||
| industrialio-event.c | ||
| industrialio-trigger.c | ||
| industrialio-triggered-event.c | ||
| inkern.c | ||
| Kconfig | ||
| Makefile | ||