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)
Wed, Aug 26, 8:51 AM
Unknown Object (File)
Wed, Aug 26, 7:37 AM
Unknown Object (File)
Sun, Aug 23, 5:22 PM
Unknown Object (File)
Thu, Aug 13, 8:42 PM
Unknown Object (File)
Thu, Aug 13, 8:39 PM
Unknown Object (File)
Jul 3 2026, 8:11 AM
Unknown Object (File)
Jul 3 2026, 6:01 AM
Unknown Object (File)
Jul 2 2026, 10:14 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.