Skip to content
  • Linus Torvalds's avatar
    Merge tag 'Wimplicit-fallthrough-5.3-rc2' of... · 88c50834
    Linus Torvalds authored
    Merge tag 'Wimplicit-fallthrough-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
    
    Pull Wimplicit-fallthrough enablement from Gustavo A. R. Silva:
     "This marks switch cases where we are expecting to fall through, and
      globally enables the -Wimplicit-fallthrough option in the main
      Makefile.
    
      Finally, some missing-break fixes that have been tagged for -stable:
    
       - drm/amdkfd: Fix missing break in switch statement
    
       - drm/amdgpu/gfx10: Fix missing break in switch statement
    
      With these changes, we completely get rid of all the fall-through
      warnings in the kernel"
    
    * tag 'Wimplicit-fallthrough-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
      Makefile: Globally enable fall-through warning
      drm/i915: Mark expected switch fall-throughs
      drm/amd/display: Mark expected switch fall-throughs
      drm/amdkfd/kfd_mqd_manager_v10: Avoid fall-through warning
      drm/amdgpu/gfx10: Fix missing break in switch statement
      drm/amdkfd: Fix missing break in switch statement
      perf/x86/intel: Mark expected switch fall-throughs
      mtd: onenand_base: Mark expected switch fall-through
      afs: fsclient: Mark expected switch fall-throughs
      afs: yfsclient: Mark expected switch fall-throughs
      can: mark expected switch fall-throughs
      firewire: mark expected switch fall-throughs
    88c50834