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, Mar 8, 1:06 PM
Unknown Object (File)
Mon, Mar 2, 5:19 PM
Unknown Object (File)
Sat, Feb 28, 11:10 PM
Unknown Object (File)
Sat, Feb 28, 11:16 AM
Unknown Object (File)
Tue, Feb 24, 12:37 PM
Unknown Object (File)
Sun, Feb 22, 1:48 PM
Unknown Object (File)
Dec 30 2025, 8:52 AM
Unknown Object (File)
Dec 7 2025, 12:47 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