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)
Fri, Jul 3, 8:11 AM
Unknown Object (File)
Fri, Jul 3, 6:01 AM
Unknown Object (File)
Thu, Jul 2, 10:14 PM
Unknown Object (File)
Wed, Jul 1, 7:34 AM
Unknown Object (File)
Jun 15 2026, 1:20 PM
Unknown Object (File)
Jun 15 2026, 12:44 PM
Unknown Object (File)
Jun 6 2026, 4:10 PM
Unknown Object (File)
Jun 1 2026, 6:14 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
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.