1. 11 Jan, 2021 1 commit
  2. 08 Jan, 2021 1 commit
  3. 07 Jan, 2021 2 commits
  4. 06 Jan, 2021 1 commit
  5. 05 Jan, 2021 2 commits
  6. 04 Jan, 2021 2 commits
  7. 31 Dec, 2020 3 commits
  8. 30 Dec, 2020 1 commit
  9. 29 Dec, 2020 7 commits
  10. 28 Dec, 2020 6 commits
  11. 27 Dec, 2020 8 commits
  12. 26 Dec, 2020 5 commits
  13. 25 Dec, 2020 1 commit
    • Linus Torvalds's avatar
      drm/amd/display: avoid uninitialized variable warning · 61d79136
      Linus Torvalds authored
      clang (quite rightly) complains fairly loudly about the newly added
      mpc1_get_mpc_out_mux() function returning an uninitialized value if the
      'opp_id' checks don't pass.
      
      This may not happen in practice, but the code really shouldn't return
      garbage if the sanity checks don't pass.
      
      So just initialize 'val' to zero to avoid the issue.
      
      Fixes: 110b055b ("drm/amd/display: add getter routine to retrieve mpcc mux")
      Cc: Josip Pavic <Josip.Pavic@amd.com>
      Cc: Bindu Ramamurthy <bindu.r@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      61d79136