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)
Wed, Dec 31, 12:47 AM
Unknown Object (File)
Tue, Dec 30, 3:27 AM
Unknown Object (File)
Sun, Dec 14, 5:31 PM
Unknown Object (File)
Fri, Dec 12, 7:04 PM
Unknown Object (File)
Nov 29 2025, 10:14 PM
Unknown Object (File)
Nov 27 2025, 11:40 PM
Unknown Object (File)
Nov 20 2025, 9:29 PM
Unknown Object (File)
Nov 20 2025, 9:28 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.