Skip to contentSkip to conversation

iommu: Improve exception handling in iommu_group_alloc()

PATCH Markus Elfring 1 participant 1 message Jun 2, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Improve the exception handling to free the resources correctly when failed to allocate an iommu group.

I propose to avoid the specification of duplicate function calls. Will it become helpful to add a few jump targets?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?idó59287765c04711ff54fbd11645271d8e5ff763#n455

Quoted 2 lines
---
 drivers/iommu/iommu.c | 10 ++++++++--

I suggest to replace the triple dashes before this diffstat by a blank line.

Regards,
Markus