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)
Mon, Mar 16, 6:33 AM
Unknown Object (File)
Mon, Mar 9, 11:36 PM
Unknown Object (File)
Wed, Mar 4, 6:19 PM
Unknown Object (File)
Fri, Feb 27, 6:18 AM
Unknown Object (File)
Feb 8 2026, 6:18 AM
Unknown Object (File)
Feb 7 2026, 7:06 PM
Unknown Object (File)
Jan 31 2026, 8:27 AM
Unknown Object (File)
Jan 3 2026, 2:16 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.