Page MenuHomeFreeBSD

e1000g: this statement may fall through
ClosedPublic

Authored by tsoome on Mar 12 2018, 5:52 AM.
Tags
None
Referenced Files
F153853843: D14663.id40202.diff
Fri, Apr 24, 6:45 AM
Unknown Object (File)
Thu, Apr 23, 6:08 AM
Unknown Object (File)
Mon, Apr 20, 4:17 AM
Unknown Object (File)
Mon, Apr 20, 4:16 AM
Unknown Object (File)
Tue, Apr 7, 12:46 PM
Unknown Object (File)
Mon, Apr 6, 1:12 PM
Unknown Object (File)
Tue, Mar 31, 5:16 AM
Unknown Object (File)
Mar 8 2026, 1:06 PM
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