summaryrefslogtreecommitdiff
path: root/isp/omap3isp-priv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-14 03:16:30 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-11-15 10:49:41 +0100
commit2d6416324ca2dd1b8c885460e9f3944ba78e156e (patch)
tree3f4bbb724b4cd7e09e94f1fc81dbfe1974920791 /isp/omap3isp-priv.h
parent619164a994c8d878249d6c1b8b16c27074a04209 (diff)
events: Safeguard against event deletion in event callbacks
Events callback can call events_unwatch_fd(), resulting in the event being deleted from the events list. Use list_for_each_entry_safe() to walk the list properly, and make sure the event isn't accessed after it's callback function returns. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/omap3isp-priv.h')
0 files changed, 0 insertions, 0 deletions