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)
Fri, Jul 3, 8:32 AM
Unknown Object (File)
Fri, Jul 3, 6:32 AM
Unknown Object (File)
Thu, Jul 2, 11:14 PM
Unknown Object (File)
Thu, Jul 2, 7:54 PM
Unknown Object (File)
Wed, Jul 1, 6:17 AM
Unknown Object (File)
Fri, Jun 26, 3:06 PM
Unknown Object (File)
May 23 2026, 1:59 AM
Unknown Object (File)
May 23 2026, 1:59 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 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.