Re: iommu: Improve exception handling in iommu_group_alloc()

From: Markus Elfring
Date: Tue Jun 02 2020 - 03:06:31 EST

>> Do you disagree to the application of the Linux coding style then
>> for the recommended exception handling?
> No, that's not what I mean. My point is the exception handling in this
> patch is simple and no need to add 'goto' statement which does not help
> to improve readability.

Do we come along different programming imaginations?

> And I agree it is helpful for the cases where a function exits from multiple locations
> and more same cleanup work need to do.

Can this view fit also to calls of the function âkobject_putâ?