aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-04-24 08:15:45 -0500
committerChris Wilson <[email protected]>2018-04-24 16:44:25 +0100
commita3997159133d56e444f0c0f56ab1ae59863912a8 (patch)
tree71e05f26d3a0037e101be8353134f67b1017c34c /tools/perf/scripts/python/net_dropmonitor.py
parentdf9e6521749ab33cde306e8a4350b0ac7889220a (diff)
drm/i915/selftests: Fix uninitialized variable
There is a potential execution path in which variable err is returned without being properly initialized previously. Fix this by initializing variable err to 0. Addresses-Coverity-ID: 1468362 ("Uninitialized scalar variable") Fixes: f4ecfbfc32ed ("drm/i915: Check whitelist registers across resets") Signed-off-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions