Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fallthrough macro #12441

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Use fallthrough macro #12441

merged 1 commit into from
Sep 14, 2021

Commits on Sep 13, 2021

  1. Use fallthrough macro

    As of the Linux 5.9 kernel a fallthrough macro has been added which
    should be used to anotate all intentional fallthrough paths.  Once
    all of the kernel code paths have been updated to use fallthrough
    the -Wimplicit-fallthrough option will because the default.  To
    avoid warnings in the OpenZFS code base when this happens apply
    the fallthrough macro.
    
    Additional reading: https://lwn.net/Articles/794944/
    
    Signed-off-by: Brian Behlendorf <[email protected]>
    behlendorf committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    82edadc View commit details
    Browse the repository at this point in the history