Page MenuHomeFreeBSD

Use uintptr_t instead of unsigned long for pointers.
ClosedPublic

Authored by jhb on Dec 11 2020, 9:25 PM.
Tags
None
Referenced Files
F102497652: D27578.id80737.diff
Wed, Nov 13, 4:07 AM
Unknown Object (File)
Sat, Oct 26, 7:25 PM
Unknown Object (File)
Oct 2 2024, 7:13 AM
Unknown Object (File)
Sep 30 2024, 3:56 AM
Unknown Object (File)
Sep 30 2024, 3:52 AM
Unknown Object (File)
Sep 24 2024, 3:41 AM
Unknown Object (File)
Sep 24 2024, 3:41 AM
Unknown Object (File)
Sep 18 2024, 2:42 PM
Subscribers

Details

Summary

The sense_ptr thing is quite broken. As near as I can tell,
the driver tries to copyout to a physical address rather than
whatever user address the sense buffer should be copied to.
It is not immediately obvious what user address the sense
buffer should be copied to.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Dec 11 2020, 9:25 PM

no comment on what it's doing, but the casting I think is good.

This revision is now accepted and ready to land.Dec 11 2020, 10:24 PM
This revision was automatically updated to reflect the committed changes.