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
F131637587: D18577.diff
Thu, Oct 9, 10:57 PM
Unknown Object (File)
Aug 31 2025, 8:19 PM
Unknown Object (File)
Aug 31 2025, 1:55 AM
Unknown Object (File)
Aug 12 2025, 5:26 PM
Unknown Object (File)
Jul 5 2025, 2:30 AM
Unknown Object (File)
Jul 3 2025, 11:26 PM
Unknown Object (File)
Jul 1 2025, 7:13 AM
Unknown Object (File)
Jun 30 2025, 3:37 PM
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 Not Applicable
Unit
Tests Not Applicable

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.