Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Differential
D45174
Diff 138630
sys/dev/hyperv/vmbus/hyperv_mmu.c
Changeset View
You could just as easily recast this as &flush->hv_vp_set.bank_contents[nr_bank], since that's where it's going to go and eliminate the 'offset' argument. That would allow you to replace the not-well-defined-in-C structure with something that's semantically the same (since you are doing the calculation above to find the maximum number you can put there).