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, Jun 1, 6:14 AM
Unknown Object (File)
Sun, May 31, 4:21 AM
Unknown Object (File)
Sat, May 30, 5:53 PM
Unknown Object (File)
Fri, May 22, 5:46 AM
Unknown Object (File)
Apr 27 2026, 8:15 PM
Unknown Object (File)
Apr 20 2026, 12:16 AM
Unknown Object (File)
Apr 19 2026, 7:12 PM
Unknown Object (File)
Apr 10 2026, 6:47 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.