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
F161456980: D15653.id43284.diff
Fri, Jul 3, 11:49 PM
F161448302: D15653.id43400.diff
Fri, Jul 3, 9:32 PM
Unknown Object (File)
Thu, Jul 2, 6:29 AM
Unknown Object (File)
May 20 2026, 9:18 AM
Unknown Object (File)
May 8 2026, 9:25 PM
Unknown Object (File)
May 1 2026, 11:30 PM
Unknown Object (File)
Apr 27 2026, 10:08 AM
Unknown Object (File)
Apr 11 2026, 12:39 PM
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 Not Applicable
Unit
Tests Not Applicable

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.