linux/drivers/gpu/drm/msm/disp/dpu1
Nathan Chancellor e9afd45788 drm/msm/dpu: Remove commit and its uses in dpu_crtc_set_crc_source()
Clang warns:

drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:162:6: error: variable 'commit' is uninitialized when used here [-Werror,-Wuninitialized]
        if (commit)
            ^~~~~~
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:106:32: note: initialize the variable 'commit' to silence this warning
        struct drm_crtc_commit *commit;
                                      ^
                                       = NULL
1 error generated.

The assignment and use of commit in the main body of
dpu_crtc_set_crc_source() were removed from v1 to v2 but the call to
drm_crtc_commit_put() at the end was not. Do that now so there is no
more warning.

Fixes: 78d9b458cc ("drm/msm/dpu: Add CRC support for DPU")
Link: https://github.com/ClangBuiltLinux/linux/issues/1493
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20211026142435.3606413-1-nathan@kernel.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
2021-10-26 09:29:54 -07:00
..
dpu_core_irq.h drm/msm/dpu: simplify IRQ enabling/disabling 2021-06-23 07:32:15 -07:00
dpu_core_perf.c drm/msm/disp: Move various debug logs to atomic bucket 2021-06-23 07:32:16 -07:00
dpu_core_perf.h
dpu_crtc.c drm/msm/dpu: Remove commit and its uses in dpu_crtc_set_crc_source() 2021-10-26 09:29:54 -07:00
dpu_crtc.h drm/msm/dpu: Add CRC support for DPU 2021-10-21 10:42:42 -07:00
dpu_encoder_phys_cmd.c drm/msm: delete conversion from bool value to bool return 2021-10-15 13:26:33 -07:00
dpu_encoder_phys_vid.c drm/msm/dpu: use struct dpu_hw_merge_3d in dpu_hw_pingpong 2021-06-23 07:33:54 -07:00
dpu_encoder_phys.h drm/msm/dpu: drop remains of old irq lookup subsystem 2021-06-23 07:32:15 -07:00
dpu_encoder.c drm/msm/dp: Support up to 3 DP controllers 2021-10-18 14:28:30 -07:00
dpu_encoder.h drm/msm: Change dpu_crtc_get_vblank_counter to use vsync count. 2021-10-15 12:59:20 -07:00
dpu_formats.c drm/msm/disp: Move various debug logs to atomic bucket 2021-06-23 07:32:16 -07:00
dpu_formats.h
dpu_hw_blk.h drm/msm/dpu: hw_blk: make dpu_hw_blk empty opaque structure 2021-06-23 07:33:54 -07:00
dpu_hw_catalog.c drm/msm/dp: Support up to 3 DP controllers 2021-10-18 14:28:30 -07:00
dpu_hw_catalog.h drm/msm/dpu: Remove some nonsense 2021-10-15 13:26:33 -07:00
dpu_hw_ctl.c drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs 2021-08-07 11:48:40 -07:00
dpu_hw_ctl.h drm/msm/disp/dpu1: add support to program fetch active in ctl path 2021-04-07 11:05:48 -07:00
dpu_hw_dspp.c drm/msm/dpu: hw_blk: make dpu_hw_blk empty opaque structure 2021-06-23 07:33:54 -07:00
dpu_hw_dspp.h
dpu_hw_interrupts.c drm/msm/dpu: merge struct dpu_irq into struct dpu_hw_intr 2021-10-15 12:59:19 -07:00
dpu_hw_interrupts.h drm/msm/dpu: merge struct dpu_irq into struct dpu_hw_intr 2021-10-15 12:59:19 -07:00
dpu_hw_intf.c drm/msm/dpu: hw_blk: make dpu_hw_blk empty opaque structure 2021-06-23 07:33:54 -07:00
dpu_hw_intf.h drm/msm/disp/dpu1: turn off vblank irqs aggressively in dpu driver 2021-04-07 11:05:43 -07:00
dpu_hw_lm.c drm/msm/dpu: Add CRC support for DPU 2021-10-21 10:42:42 -07:00
dpu_hw_lm.h drm/msm/dpu: Add CRC support for DPU 2021-10-21 10:42:42 -07:00
dpu_hw_mdss.h drm/msm/dpu: Fix a typo 2021-06-23 07:33:52 -07:00
dpu_hw_merge3d.c drm/msm/dpu: hw_blk: make dpu_hw_blk empty opaque structure 2021-06-23 07:33:54 -07:00
dpu_hw_merge3d.h
dpu_hw_pingpong.c drm/msm/dpu: hw_blk: make dpu_hw_blk empty opaque structure 2021-06-23 07:33:54 -07:00
dpu_hw_pingpong.h drm/msm/dpu: use struct dpu_hw_merge_3d in dpu_hw_pingpong 2021-06-23 07:33:54 -07:00
dpu_hw_sspp.c drm/msm: Fix potential NULL dereference in DPU SSPP 2021-10-21 13:40:28 -07:00
dpu_hw_sspp.h drm/msm/dpu1: add support for qseed3lite used on sm8250 2021-01-31 11:34:36 -08:00
dpu_hw_top.c drm/msm/dpu: hw_blk: make dpu_hw_blk empty opaque structure 2021-06-23 07:33:54 -07:00
dpu_hw_top.h drivers: gpu: drm: msn: disp: dpu1: Fixed couple of spellings in the file dpu_hw_top.h 2021-04-07 11:05:44 -07:00
dpu_hw_util.c drm/msm/dpu1: add support for qseed3lite used on sm8250 2021-01-31 11:34:36 -08:00
dpu_hw_util.h drm/msm/dpu: Add CRC support for DPU 2021-10-21 10:42:42 -07:00
dpu_hw_vbif.c
dpu_hw_vbif.h
dpu_hwio.h
dpu_io_util.c
dpu_io_util.h
dpu_kms.c drm/msm/dp: Support up to 3 DP controllers 2021-10-18 14:28:30 -07:00
dpu_kms.h drm/msm/dpu: merge struct dpu_irq into struct dpu_hw_intr 2021-10-15 12:59:19 -07:00
dpu_mdss.c gpu: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:40 +01:00
dpu_plane.c drm/msm: fix warning "using plain integer as NULL pointer" 2021-10-15 13:26:33 -07:00
dpu_plane.h drm/msm/dpu: Delete bonkers code 2021-05-03 10:18:07 +02:00
dpu_rm.c drm/msm/dpu: hw_blk: make dpu_hw_blk empty opaque structure 2021-06-23 07:33:54 -07:00
dpu_rm.h
dpu_trace.h drm/msm/dpu: simplify IRQ enabling/disabling 2021-06-23 07:32:15 -07:00
dpu_vbif.c drm/msm/disp: Move various debug logs to atomic bucket 2021-06-23 07:32:16 -07:00
dpu_vbif.h
msm_media_info.h