Re: [PATCH] net: rtw88: fix an issue about leak system resources
From: Markus Elfring
Date: Mon May 04 2020 - 09:52:31 EST
> the related system resources were not released when pci_iomap() return
> error in the rtw_pci_io_mapping() function. add pci_release_regions() to
> fix it.
How do you think about a wording variant like the following?
Subject:
[PATCH v2] net: rtw88: Complete exception handling in rtw_pci_io_mapping()
Change description:
A call of the function âpci_request_regionsâ can fail here.
The corresponding system resources were not released then.
Thus add a call of the function âpci_release_regionsâ.
Regards,
Markus