diff options
| author | 2021-10-28 15:28:22 +0800 | |
|---|---|---|
| committer | 2021-10-28 22:29:35 +1100 | |
| commit | 290fe8aa69ef5c51c778c0bb33f8ef0181c769f5 (patch) | |
| tree | cbfe0253079faf1a29a9609e50a7fbef5ab67006 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | powerpc/dcr: Use cmplwi instead of 3-argument cmpli (diff) | |
| download | linux-dev-290fe8aa69ef5c51c778c0bb33f8ef0181c769f5.tar.xz linux-dev-290fe8aa69ef5c51c778c0bb33f8ef0181c769f5.zip | |
powerpc/44x/fsp2: add missing of_node_put
Early exits from for_each_compatible_node() should decrement the
node reference counter. Reported by Coccinelle:
./arch/powerpc/platforms/44x/fsp2.c:206:1-25: WARNING: Function
"for_each_compatible_node" should have of_node_put() before return
around line 218.
Fixes: 7813043e1bbc ("powerpc/44x/fsp2: Add irq error handlers")
Signed-off-by: Bixuan Cui <cuibixuan@linux.alibaba.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1635406102-88719-1-git-send-email-cuibixuan@linux.alibaba.com
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
