Hi Dave, A bunch of smatch fixes for the dc code. The following changes since commit 26c860d5579684528114c3875ef88f7796330eb5: Merge branch 'drm-next-4.15-dc' of git://people.freedesktop.org/~agd5f/linux into drm-next (2017-11-03 05:32:08 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.15-dc for you to fetch changes up to f368d3bfde225199eef2216b03e0ba4944a3434a: amd/display: Fix potential null dereference in dce_calcs.c (2017-11-08 17:30:11 -0500) ---------------------------------------------------------------- Dan Carpenter (3): drm/amd/display: small cleanup in destruct() drm/amd/display: checking for NULL instead of IS_ERR() drm/amd/display: remove some unneeded code Dave Airlie (3): amdgpu/dc: fix non-ansi function decls. amdgpu/dc: fix indentation warning from smatch. amdgpu/dc: handle allocation failures in dc_commit_planes_to_stream. Ernst Sjöstrand (5): amdgpu/dc: fix more indentation warnings amdgpu/dc: Fix potential null dereferences in amdgpu_dm.c amdgpu/dc: Fix missing null checks in amdgpu_dm.c amdgpu/dc: Fix double unlock in amdgpu_dm_commit_planes amd/display: Fix potential null dereference in dce_calcs.c Harry Wentland (2): drm/amdgpu: Remove unused dc_stream from amdgpu_crtc amdgpu/dm: Remove unused forward declaration drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 2 -- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 39 +++++++++++++++------- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 -- drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 2 +- .../gpu/drm/amd/display/dc/bios/command_table2.c | 18 +++++----- .../dc/bios/dce110/command_table_helper_dce110.c | 2 +- .../dc/bios/dce112/command_table_helper2_dce112.c | 2 +- .../dc/bios/dce112/command_table_helper_dce112.c | 2 +- .../dc/bios/dce80/command_table_helper_dce80.c | 2 +- drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c | 2 ++ drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 2 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 8 +++++ drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 4 +-- drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 4 +-- drivers/gpu/drm/amd/display/dc/dce/dce_audio.c | 26 +++++++-------- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 16 ++++----- .../amd/display/dc/dce110/dce110_hw_sequencer.c | 30 ++++++++--------- .../display/dc/dce120/dce120_timing_generator.c | 7 ++-- .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c | 2 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 6 ++-- .../amd/display/dc/dcn10/dcn10_timing_generator.c | 3 -- .../display/dc/i2caux/dce110/aux_engine_dce110.c | 2 +- .../dc/i2caux/dce110/i2c_hw_engine_dce110.c | 30 ++++++++--------- 23 files changed, 114 insertions(+), 99 deletions(-)