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)
Tue, Jul 7, 12:03 PM
Unknown Object (File)
Tue, Jul 7, 1:25 AM
Unknown Object (File)
Mon, Jul 6, 5:21 AM
Unknown Object (File)
Sun, Jul 5, 12:30 AM
Unknown Object (File)
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
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