diff options
| author | Liang He <[email protected]> | 2022-07-19 17:52:15 +0800 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2022-07-21 18:02:55 +0200 |
| commit | 19bbb49acf8d7a03cb83e05624363741a4c3ec6f (patch) | |
| tree | 0fc32989dc617d88cef7c3e6f5a10f962aa66be2 /scripts/gcc-plugins/gcc-common.h | |
| parent | 883c1d6fa4368a63cae2d6ae2d9c91141c60e233 (diff) | |
mmc: cavium-octeon: Add of_node_put() when breaking out of loop
In octeon_mmc_probe(), we should call of_node_put() when breaking
out of for_each_child_of_node() which has increased and decreased
the refcount during each iteration.
Fixes: 01d95843335c ("mmc: cavium: Add MMC support for Octeon SOCs.")
Signed-off-by: Liang He <[email protected]>
Acked-by: Robert Richter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions