]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add Rockchip PCIe cleanup on attach faulure
authorAndrew Turner <andrew@FreeBSD.org>
Thu, 30 Jun 2022 18:16:34 +0000 (19:16 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 4 Jul 2022 14:27:01 +0000 (15:27 +0100)
commitee2324aaf6e3256ef7396ef6063ec4261486ef94
tree8ea364909dae9006669cacf06056f97cf8526275
parentb1e9313274265645e163508ff1704ace2e0b1294
Add Rockchip PCIe cleanup on attach faulure

We should clean up on failure as it may panic the kernel later, e.g.
if we crate the rman, but fail to destroy it on attach faulure.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35682
sys/arm64/rockchip/rk_pcie.c