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, Dec 10, 9:38 PM
Unknown Object (File)
Wed, Dec 3, 10:56 PM
Unknown Object (File)
Nov 9 2025, 5:39 AM
Unknown Object (File)
Nov 5 2025, 11:08 PM
Unknown Object (File)
Nov 5 2025, 2:24 AM
Unknown Object (File)
Nov 5 2025, 2:24 AM
Unknown Object (File)
Nov 5 2025, 2:24 AM
Unknown Object (File)
Nov 4 2025, 11:57 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.