diff options
| author | Daniel Vetter <[email protected]> | 2017-03-30 15:32:53 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-03-30 20:23:51 +0200 |
| commit | 031e5896dfdc24839d60f168f6e8560e294674d3 (patch) | |
| tree | e6936f46b2930d4f1372b72d0f9d2fe460fd61e0 /drivers/clocksource/qcom-timer.c | |
| parent | f5f4c615982ddf9b898439cd039e5af6697c1c3e (diff) | |
drm: Clear e after kfree in drm_mode_page_flip_ioctl
With the explicit retry loop static analyzers get confused by the
control flow and believe that e could be accessed after kfree. That's
not possible, but it's non-obvious, so let's clear it to NULL.
We already cleared e = NULL at the top of the function, so this is all
in line.
Cc: Julia Lawall <[email protected]>
Reported-by: Julia Lawall <[email protected]>
Fixes: 29dc0d1de182 ("drm: Roll out acquire context for the page_flip ioctl")
Cc: Harry Wentland <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Sean Paul <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions