aboutsummaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-09-29 05:41:24 -0300
committerMauro Carvalho Chehab <[email protected]>2016-11-16 16:13:39 -0200
commit04b96d1a6954309eb562ef2736c019b3cf2dad2a (patch)
tree4fe7fa380db0e477bc6c7aec9a5427488fed4315 /include/linux/errqueue.h
parent03c47aaeffec8e91ff4207d4814061a24fe51afb (diff)
[media] v4l: omap3isp: Fix OF node double put when parsing OF graph
When parsing the graph the driver loops over all endpoints using of_graph_get_next_endpoint(). The function handles reference counting of the passed and returned nodes, so the returned node's reference count must not be decreased manually in the normal path. Move the offending of_node_put() call to the error path that requires manual reference count handling. Reported-by: H. Nikolaus Schaller <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions