Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: b5c84a9 ("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]>
- Loading branch information