Page MenuHomeFreeBSD

e1000g: this statement may fall through
ClosedPublic

Authored by tsoome on Mar 12 2018, 5:52 AM.
Tags
None
Referenced Files
F161575066: D14663.diff
Sun, Jul 5, 12:30 AM
F161511105: D14663.id40202.diff
Sat, Jul 4, 10:30 AM
Unknown Object (File)
Sat, Jul 4, 12:22 AM
Unknown Object (File)
Fri, Jul 3, 5:09 AM
Unknown Object (File)
Fri, Jul 3, 2:16 AM
Unknown Object (File)
Wed, Jul 1, 5:18 AM
Unknown Object (File)
Apr 29 2026, 4:01 PM
Unknown Object (File)
Apr 24 2026, 6:45 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 Not Applicable
Unit
Tests Not Applicable