Skip to content

Use attributes instead of comments for fallthrough#670

Open
rlalik wants to merge 1 commit intoDIGImend:masterfrom
rlalik:fix_new_kernel_fallthrough
Open

Use attributes instead of comments for fallthrough#670
rlalik wants to merge 1 commit intoDIGImend:masterfrom
rlalik:fix_new_kernel_fallthrough

Conversation

@rlalik
Copy link

@rlalik rlalik commented Oct 31, 2023

New linux kernel enforces -Wimplicit-fallthrough=5 which does not accept comments any more:
https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7 This fix introduces attributes for new kernels.

This follows up #616

New linux kernel enforces -Wimplicit-fallthrough=5 which does not accept
comments any more:
https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7
This fix introduces attributes for new kernels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant