diff options
| author | Markus Elfring <[email protected]> | 2023-04-16 17:30:46 +0200 |
|---|---|---|
| committer | Robert Foss <[email protected]> | 2023-04-28 19:26:24 +0200 |
| commit | 0be05a75de2916421e88e0d64b001984f54df0bd (patch) | |
| tree | 27c40d9c09caacaef4e31091b08edb6b8f7d1c16 /tools/perf/scripts/python | |
| 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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Robert Foss <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions