]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use uintptr_t instead of unsigned long for pointers.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 16 Dec 2020 00:13:32 +0000 (00:13 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 16 Dec 2020 00:13:32 +0000 (00:13 +0000)
commitf83d3280f60d79f1fdaf6b0ff833d33b36ec0545
tree13028e28866735b42973ee01fcad4d3607daea31
parentce8395ecfda2c8e332a2adf9a9432c2e7f35ea81
Use uintptr_t instead of unsigned long for pointers.

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.

Reviewed by: imp
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27578
sys/dev/mrsas/mrsas_ioctl.c