Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [PATCH V4 04/11] vfio/pci: Move to single error path | Date | Fri, 28 Apr 2023 06:34:08 +0000 |
| |
> From: Chatre, Reinette <reinette.chatre@intel.com> > Sent: Friday, April 28, 2023 1:36 AM > > Enabling and disabling of an interrupt involves several steps > that can fail. Cleanup after failure is done when the error > is encountered, resulting in some repetitive code. > > Support for dynamic contexts will introduce more steps during > interrupt enabling and disabling. > > Transition to centralized exit path in preparation for dynamic > contexts to eliminate duplicate error handling code. > > Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
| |