diff options
| author | Dan Carpenter <[email protected]> | 2023-05-26 14:51:59 +0300 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2023-06-04 05:16:18 +0300 |
| commit | 025e3d97867c55e4519edde2fda9363b9a4da795 (patch) | |
| tree | c1e2845f364a8ecb25e8d802aa28733fe3f9a9f8 /scripts/stackusage | |
| parent | 997ed53dd69379d266fee206774e1c6b1244c178 (diff) | |
drm/msm/dpu: clean up dpu_kms_get_clk_rate() returns
Static analysis tools complain about the -EINVAL error code being
stored in an unsigned variable. Let's change this to match
the clk_get_rate() function which is type unsigned long and returns
zero on error.
Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/539626/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions