svn commit: r307821 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sun Oct 23 11:23:19 UTC 2016
Author: kib
Date: Sun Oct 23 11:23:17 2016
New Revision: 307821
URL: https://svnweb.freebsd.org/changeset/base/307821
Log:
In the fueword64(9) wrapper for architectures which do not implemented
native fueword64(9) still, use proper type for local where fuword64()
result is stored.
Note that fueword64() is unused in the tree.
Submitted by: Chunhui He <hchunhui at mail.ustc.edu.cn>
PR: 212520
MFC after: 1 week
Modified:
head/sys/kern/subr_uio.c
Modified: head/sys/kern/subr_uio.c
==============================================================================
--- head/sys/kern/subr_uio.c Sun Oct 23 10:59:42 2016 (r307820)
+++ head/sys/kern/subr_uio.c Sun Oct 23 11:23:17 2016 (r307821)
@@ -532,7 +532,7 @@ fueword32(volatile const void *base, int
int
fueword64(volatile const void *base, int64_t *val)
{
- int32_t res;
+ int64_t res;
res = fuword64(base);
if (res == -1)
More information about the svn-src-head
mailing list