hyperv/storvsc: Use ULL for 64bits value shift.

Reported by:	PVS
MFC after:	3 days
Sponsored by:	Microsoft
This commit is contained in:
Sepherosa Ziehau 2017-04-14 05:25:21 +00:00
parent 7737abe4f2
commit e25942b0eb

View file

@ -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)) {