diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2023-04-16 17:30:46 +0200 |
---|---|---|
committer | Robert Foss <rfoss@kernel.org> | 2023-04-28 19:26:24 +0200 |
commit | 0be05a75de2916421e88e0d64b001984f54df0bd (patch) | |
tree | 27c40d9c09caacaef4e31091b08edb6b8f7d1c16 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 99e7e3b60080d913ff2f94943f4af1f1b76a1c06 (diff) |
drm/bridge: it6505: Move a variable assignment behind a null pointer check in receive_timing_debugfs_show()
The address of a data structure member was determined before
a corresponding null pointer check in the implementation of
the function “receive_timing_debugfs_show”.
Thus avoid the risk for undefined behaviour by moving the assignment
for the variable “vid” behind the null pointer check.
This issue was detected by using the Coccinelle software.
Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver")
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://patchwork.freedesktop.org/patch/msgid/fa69384f-1485-142b-c4ee-3df54ac68a89@web.de
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions