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)
Sep 28 2024, 5:16 PM
Unknown Object (File)
Sep 28 2024, 5:16 PM
Unknown Object (File)
Sep 28 2024, 3:37 PM
Unknown Object (File)
Sep 24 2024, 12:20 PM
Unknown Object (File)
Sep 24 2024, 12:20 PM
Unknown Object (File)
Sep 24 2024, 12:19 PM
Unknown Object (File)
Sep 24 2024, 12:08 PM
Unknown Object (File)
Sep 21 2024, 12:28 AM
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