Page MenuHomeFreeBSD

FFL: (cleanup) Change cast when comparing tlen to tp->th_urp
ClosedPublic

Authored by jtl on Jul 2 2016, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 20, 3:17 AM
Unknown Object (File)
Jun 4 2026, 4:37 AM
Unknown Object (File)
Jun 4 2026, 3:25 AM
Unknown Object (File)
Jun 1 2026, 4:37 PM
Unknown Object (File)
Apr 27 2026, 6:21 PM
Unknown Object (File)
Apr 21 2026, 1:05 AM
Unknown Object (File)
Apr 14 2026, 10:31 PM
Unknown Object (File)
Apr 12 2026, 4:23 AM
Subscribers

Details

Reviewers
gnn
Group Reviewers
transport
Summary

Cast tlen to uint32_t (instead of u_long) when comparing it to the u_short tp->th_urp. This should be a no-op change, but there is no need to over-promote.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4414
Build 4464: arc lint + arc unit

Event Timeline

jtl retitled this revision from to FFL: (cleanup) Change cast when comparing tlen to tp->th_urp.
jtl updated this object.
jtl edited the test plan for this revision. (Show Details)
jtl added a reviewer: transport.
gnn added a reviewer: gnn.
This revision is now accepted and ready to land.Jul 4 2016, 12:27 AM