diff options
| author | Ethan Tidmore <ethantidmore06@gmail.com> | 2026-04-28 21:49:54 -0500 |
|---|---|---|
| committer | Neil Armstrong <neil.armstrong@linaro.org> | 2026-05-05 15:29:25 +0200 |
| commit | faddee87a933898139f5aa9e76bdca345936b538 (patch) | |
| tree | aba94716b9561d8a7d10d70feb89fff8960f5b7a /include/linux | |
| parent | 71fa1bccaa957b0f51c1e1bedff2541741ec2b0c (diff) | |
drm/panel: jadard-jd9365da-h3: Fix signedness bug
The function drm_of_get_data_lanes_count_remote() returns negative error
codes and dsi->lanes is an unsigned integer, so the check (dsi->lanes <
0) is always impossible.
Detected by Smatch:
drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c:2959 jadard_dsi_probe()
warn: unsigned 'dsi->lanes' is never less than zero.
Fixes: eb019688f2a97 ("drm/panel: jadard-jd9365da-h3: support variable DSI configuration")
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260429024954.697411-1-ethantidmore06@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
