On Sun, Oct 09, 2022 at 01:48:34PM +0800, Jason Wang wrote: > We used to have a macro for VTD_PE_GET_FPD_ERR() but it has an > internal goto which prevents it from being reused. This patch convert > that macro to a dedicated function and let the caller to decide what > to do (e.g using goto or not). This makes sure it can be re-used for > other function that requires fault reporting. > > Signed-off-by: Jason Wang <jasow...@redhat.com> > ---
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu