Page MenuHomeFreeBSD

ixgbe: this statement may fall through warnings with gcc
ClosedPublic

Authored by tsoome on Dec 16 2018, 9:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 22, 7:15 AM
Unknown Object (File)
Mon, Jun 10, 9:45 PM
Unknown Object (File)
Mon, Jun 10, 6:31 PM
Unknown Object (File)
May 24 2024, 6:48 PM
Unknown Object (File)
May 16 2024, 5:29 PM
Unknown Object (File)
Apr 26 2024, 8:35 PM
Unknown Object (File)
Apr 9 2024, 8:10 PM
Unknown Object (File)
Feb 11 2024, 6:33 AM
Subscribers

Details

Summary

The recent gcc versions (7 and 8 at least) can check for switch case
statements for fall through (implicit-fallthrough). When fall through
is intentional, the default method for warning suppression is to place
comment /* FALLTHROUGH */ exactly before next case statement.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21597
Build 20899: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 19 2019, 8:45 PM
This revision was automatically updated to reflect the committed changes.