diff options
author | Julia Lawall <[email protected]> | 2017-05-12 22:54:23 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-05-15 14:28:10 -0400 |
commit | 8c977f5a856a7276450ddf3a7b57b4a8815b63f9 (patch) | |
tree | fec16c48b8a7b82c8147c90b1a9e240e1ea907e5 /scripts/gdb/linux/proc.py | |
parent | d19b183cdc1fa3d70d6abe2a4c369e748cd7ebb8 (diff) |
mdio: mux: fix device_node_continue.cocci warnings
Device node iterators put the previous value of the index variable, so an
explicit put causes a double put.
In particular, of_mdiobus_register can fail before doing anything
interesting, so one could view it as a no-op from the reference count
point of view.
Generated by: scripts/coccinelle/iterators/device_node_continue.cocci
CC: Jon Mason <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions