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)
Thu, Sep 10, 10:39 PM
Unknown Object (File)
Thu, Sep 10, 9:14 PM
Unknown Object (File)
Sun, Sep 6, 7:37 PM
Unknown Object (File)
Sat, Sep 5, 9:36 AM
Unknown Object (File)
Sat, Sep 5, 6:04 AM
Unknown Object (File)
Sat, Sep 5, 1:52 AM
Unknown Object (File)
Fri, Sep 4, 8:06 AM
Unknown Object (File)
Fri, Sep 4, 2:52 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