Page MenuHomeFreeBSD

rpc.lockd: Explicitly cast enum nlm_stats values to enum nlm4_stats.
ClosedPublic

Authored by jhb on Sep 29 2022, 10:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 11, 11:48 PM
Unknown Object (File)
Tue, Aug 11, 8:48 PM
Unknown Object (File)
Mon, Aug 10, 6:25 PM
Unknown Object (File)
Mon, Aug 10, 4:49 PM
Unknown Object (File)
Sun, Aug 9, 1:56 PM
Unknown Object (File)
Sat, Aug 8, 9:52 PM
Unknown Object (File)
Sat, Aug 8, 4:18 PM
Unknown Object (File)
Fri, Aug 7, 9:51 PM
Subscribers

Details

Summary

NLM 4 status values are a superset of the older NLM protocol so these
casts are safe while pacifying -Wenum-conversion warnings from GCC.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable