diff options
author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-04-14 05:25:21 +0000 |
---|---|---|
committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-04-14 05:25:21 +0000 |
commit | e25942b0ebf57256d9ece0e3beb91a8c8cbc040c (patch) | |
tree | ff30f01ea08f464044dd82eb6bcb7c093ffdc54d /sys/dev/hyperv | |
parent | 7737abe4f2505109d31f82df06badb0d62c8d507 (diff) | |
download | src-e25942b0ebf57256d9ece0e3beb91a8c8cbc040c.tar.gz src-e25942b0ebf57256d9ece0e3beb91a8c8cbc040c.zip |
hyperv/storvsc: Use ULL for 64bits value shift.
Reported by: PVS
MFC after: 3 days
Sponsored by: Microsoft
Notes
Notes:
svn path=/head/; revision=316813
Diffstat (limited to 'sys/dev/hyperv')
-rw-r--r-- | sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c | 2 |
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 07c7d5b63ce9..f1a4d53373a4 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)) { |