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)
Wed, Nov 12, 5:03 AM
Unknown Object (File)
Wed, Nov 12, 2:44 AM
Unknown Object (File)
Mon, Nov 10, 3:18 AM
Unknown Object (File)
Sun, Nov 2, 8:26 PM
Unknown Object (File)
Mon, Oct 27, 1:34 AM
Unknown Object (File)
Mon, Oct 27, 1:34 AM
Unknown Object (File)
Mon, Oct 27, 1:34 AM
Unknown Object (File)
Sun, Oct 26, 8:05 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