aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-03-07 09:30:16 +0000
committerHans Verkuil <[email protected]>2025-03-07 10:02:16 +0000
commitca8dc5951b6be04bb6e2b69a1606c8fbaa5e4fb4 (patch)
treec476e713c824a809ce64e19d75ca39b7272c052b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentmedia: platform: synopsys: hdmirx: Fix 64-bit division for 32-bit targets (diff)
downloadkernel-ca8dc5951b6be04bb6e2b69a1606c8fbaa5e4fb4.tar.gz
kernel-ca8dc5951b6be04bb6e2b69a1606c8fbaa5e4fb4.zip
media: synopsys: hdmirx: Fix signedness bug in hdmirx_parse_dt()
The num_clks is set this way: hdmirx_dev->num_clks = devm_clk_bulk_get_all(dev, &hdmirx_dev->clks); if (hdmirx_dev->num_clks < 1) return -ENODEV; The devm_clk_bulk_get_all() function returns negative error codes so the hdmirx_dev->num_cks variable needs to be signed for the error handling to work. Fixes: 7b59b132ad43 ("media: platform: synopsys: Add support for HDMI input driver") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions