summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2017-04-14 05:25:21 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2017-04-14 05:25:21 +0000
commite25942b0ebf57256d9ece0e3beb91a8c8cbc040c (patch)
treeff30f01ea08f464044dd82eb6bcb7c093ffdc54d /sys
parent7737abe4f2505109d31f82df06badb0d62c8d507 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
index 07c7d5b63ce9c..f1a4d53373a4e 100644
--- a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
+++ b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
@@ -1771,7 +1771,7 @@ storvsc_check_bounce_buffer_sgl(bus_dma_segment_t *sgl,
}
pre_aligned = TRUE;
} else {
- tmp_bits |= 1 << i;
+ tmp_bits |= 1ULL << i;
if (!pre_aligned) {
if (phys_addr != vtophys(sgl[i-1].ds_addr +
sgl[i-1].ds_len)) {