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)
Sun, Oct 12, 2:32 AM
Unknown Object (File)
Wed, Oct 8, 12:05 PM
Unknown Object (File)
Sep 16 2025, 9:12 PM
Unknown Object (File)
Sep 16 2025, 8:08 AM
Unknown Object (File)
Sep 14 2025, 9:31 PM
Unknown Object (File)
Sep 10 2025, 10:49 PM
Unknown Object (File)
Sep 9 2025, 6:59 AM
Unknown Object (File)
Aug 17 2025, 10:49 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.