]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use uintptr_t instead of unsigned long for pointers.
authorjhb <jhb@FreeBSD.org>
Wed, 16 Dec 2020 00:13:32 +0000 (00:13 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 16 Dec 2020 00:13:32 +0000 (00:13 +0000)
commit4b5f011ff0ae619706fbc4086920efe08daf5002
tree13028e28866735b42973ee01fcad4d3607daea31
parent1238797499de98777c7199a006aac429de518238
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