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, Nov 29, 10:14 PM
Unknown Object (File)
Thu, Nov 27, 11:40 PM
Unknown Object (File)
Thu, Nov 20, 9:29 PM
Unknown Object (File)
Thu, Nov 20, 9:28 PM
Unknown Object (File)
Thu, Nov 20, 9:27 PM
Unknown Object (File)
Thu, Nov 20, 9:20 PM
Unknown Object (File)
Tue, Nov 18, 10:11 AM
Unknown Object (File)
Tue, Nov 18, 7:44 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.