Re: [PATCH] gnttab: adjust unmap checking of dev_bus_addr

2021-09-06 Thread Julien Grall
Hi Jan, On 30/08/2021 15:26, Jan Beulich wrote: There's no point checking ->dev_bus_addr when GNTMAP_device_map isn't set (and hence the field isn't going to be consumed). And if there is a mismatch, use the so far unused GNTST_bad_dev_addr error indicator - if not here, where else would this (s

[PATCH] gnttab: adjust unmap checking of dev_bus_addr

2021-08-30 Thread Jan Beulich
There's no point checking ->dev_bus_addr when GNTMAP_device_map isn't set (and hence the field isn't going to be consumed). And if there is a mismatch, use the so far unused GNTST_bad_dev_addr error indicator - if not here, where else would this (so far unused) value be used? Signed-off-by: Jan Be