Re: vfio/platform: Use common error handling code in vfio_set_trigger()
From: Markus Elfring
Date: Tue Jan 16 2024 - 06:32:47 EST
> TBH, this doesn't seem like a worthwhile exit point consolidation. A
> change like this might be justified if there were some common unlock
> code that could be shared, but for a simple free and return errno by
> jumping to a different exception block, rather than even a common exit
> block, I don't see the value.
Can it be helpful to store the shown kfree() call only once
in this function implementation?
Regards,
Markus