summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-11-03 16:14:04 +0300
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-12-07 10:21:43 +0300
commitf9af8f0c1dc567a5a6a6318ff324c45d80d4a60f (patch)
tree6178b9b8f317ddef4c5223db7915c354287ad1f5 /tools/perf/scripts/python/export-to-sqlite.py
parent1d3062fad9c7313fff9970a88e0538a24480ffb8 (diff)
downloadlinux-f9af8f0c1dc567a5a6a6318ff324c45d80d4a60f.tar.xz
drm/framebuffer: Fix use of uninitialized variable
smatch reports: drivers/gpu/drm/drm_framebuffer.c:654 drm_mode_getfb2_ioctl() error: uninitialized symbol 'ret'. 'ret' is possibly not set when there are no errors, causing the error above. I can't say if that ever happens in real-life, but in any case I think it is good to initialize 'ret' to 0. Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231103-uninit-fixes-v2-2-c22b2444f5f5@ideasonboard.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions