mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
hyperv/storvsc: Use ULL for 64bits value shift.
Reported by: PVS MFC after: 3 days Sponsored by: Microsoft
This commit is contained in:
parent
7737abe4f2
commit
e25942b0eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue