Page MenuHomeFreeBSD

pctrie_lookup_node: assume parent_out != NULL
ClosedPublic

Authored by dougm on Jun 6 2025, 6:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 7, 12:53 AM
Unknown Object (File)
Sun, Oct 4, 1:46 PM
Unknown Object (File)
Sun, Oct 4, 1:45 PM
Unknown Object (File)
Sat, Oct 3, 2:50 AM
Unknown Object (File)
Thu, Oct 1, 5:15 PM
Unknown Object (File)
Sun, Sep 27, 7:41 AM
Unknown Object (File)
Sun, Sep 27, 1:30 AM
Unknown Object (File)
Sat, Sep 26, 4:17 PM
Subscribers

Details

Summary

Since NULL is never passed as the parent_out parameter to _pctrie_lookup_node, stop making the assignment to *parent_out check parent_out for NULL first.

Diff Detail

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

Event Timeline

dougm requested review of this revision.Jun 6 2025, 6:16 PM
dougm created this revision.
This revision is now accepted and ready to land.Jun 6 2025, 6:44 PM
This revision was automatically updated to reflect the committed changes.