Page MenuHomeFreeBSD

Print Maximum Data Transfer Size as a long rather than int
ClosedPublic

Authored by jhibbits on Jun 3 2018, 3:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 12, 8:33 PM
Unknown Object (File)
Fri, Aug 1, 11:39 PM
Unknown Object (File)
Jul 7 2025, 7:53 AM
Unknown Object (File)
Jul 7 2025, 2:04 AM
Unknown Object (File)
Jul 6 2025, 3:48 PM
Unknown Object (File)
Jul 5 2025, 2:15 AM
Unknown Object (File)
Jul 4 2025, 12:34 AM
Unknown Object (File)
Jul 3 2025, 1:37 AM
Subscribers
None

Details

Summary

PowerPC has PAGE_SIZE as a long, not an int. This causes the compiler to throw
a format mismatch warning on this print. To work around the difference, print
it as a long instead of an int, and force the argument to a long.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jun 7 2018, 2:47 AM
This revision was automatically updated to reflect the committed changes.