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)
Sat, Jul 25, 4:56 PM
Unknown Object (File)
Fri, Jul 24, 3:55 PM
Unknown Object (File)
Wed, Jul 22, 9:52 PM
Unknown Object (File)
Wed, Jul 22, 12:26 PM
Unknown Object (File)
Tue, Jul 21, 2:42 PM
Unknown Object (File)
Sun, Jul 19, 9:50 PM
Unknown Object (File)
Tue, Jul 7, 12:03 PM
Unknown Object (File)
Tue, Jul 7, 1:25 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