Page MenuHomeFreeBSD

e1000g: this statement may fall through
ClosedPublic

Authored by tsoome on Mar 12 2018, 5:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 7, 12:47 AM
Unknown Object (File)
Mon, Dec 1, 6:13 PM
Unknown Object (File)
Sun, Nov 30, 12:15 PM
Unknown Object (File)
Fri, Nov 28, 3:12 PM
Unknown Object (File)
Nov 21 2025, 3:46 PM
Unknown Object (File)
Nov 21 2025, 1:01 AM
Unknown Object (File)
Nov 21 2025, 12:55 AM
Unknown Object (File)
Nov 21 2025, 12:53 AM
Subscribers

Details

Summary

The gcc 7 does check for switch statement fall through cases, and if legit,
such complaint can besilenced by /* FALLTHROUGH */ comment. Unfortunately
such comment is quite limited, but will still notify the reader.

This patch is backport from illumos, see
https://www.illumos.org/rb/r/941/

Diff Detail

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