aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorSudeep Holla <[email protected]>2018-01-18 10:43:39 +0000
committerArnd Bergmann <[email protected]>2018-01-23 10:15:11 +0100
commite2105ca8beb0c776a52ae8d18bc6b564745de2e4 (patch)
treed00c06bed8be6ba9e112dca4f42395e1f5121a65 /drivers/net/dsa/dsa_loop.c
parent95140ed16db560ef86ab4ebe1a4e9b748d098669 (diff)
of: platform: fix OF node refcount leak
We need to call of_node_put() for device nodes obtained with of_find_node_by_path(). Fixes: 3aa0582fdb82 ("of: platform: populate /firmware/ node from of_platform_default_populate_init()") Reported-by: Loys Ollivier <[email protected]> Cc: Frank Rowand <[email protected]> Signed-off-by: Sudeep Holla <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Andy Gross <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions