diff options
| author | Andrew Goodbody <[email protected]> | 2025-10-01 17:36:43 +0100 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2025-10-09 12:31:09 +0200 |
| commit | 4c606b165b51b5e0ac8a3ecc8edd232345340145 (patch) | |
| tree | f4490e146dd223634fd2ce08480021fabf48f295 /include/linux/linux_string.h | |
| parent | ed5b149b81ad2679de40035e13b43d80262debc7 (diff) | |
video: zynqmp: Prevent use of uninitialised variables
The variables 'offset_matrix' and 'csc_matrix' will be used
uninitialised if video->is_rgb is false. Correct the logic so the
attempt to use uninitialised variables is not made. Also remove the use
of these variables as they seem to serve no useful purpose just being
aliases for arrays.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
