Page MenuHomeFreeBSD

sfxge(4): do not use enum for filter flags
ClosedPublic

Authored by arybchik on Dec 28 2016, 4:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 8:15 PM
Unknown Object (File)
Mon, Apr 20, 12:16 AM
Unknown Object (File)
Sun, Apr 19, 7:12 PM
Unknown Object (File)
Apr 10 2026, 6:47 PM
Unknown Object (File)
Mar 18 2026, 4:57 AM
Unknown Object (File)
Mar 18 2026, 4:57 AM
Unknown Object (File)
Mar 16 2026, 1:16 AM
Unknown Object (File)
Mar 2 2026, 4:29 AM
Subscribers

Details

Summary

It is not 100% correct to assign non-enum values to enum type
variables.

Found by ICC build (DPDK PMD upstreaming).

Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

amd64 kernels tinderbox build tested

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 6432
Build 6664: arc lint + arc unit

Event Timeline

arybchik retitled this revision from to sfxge(4): do not use enum for filter flags.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz.
gnn edited edge metadata.
This revision is now accepted and ready to land.Dec 28 2016, 4:44 PM
This revision was automatically updated to reflect the committed changes.