This commit is contained in:
Jim Ma 2023-03-12 19:42:54 +08:00
parent bd3d2ff620
commit 69d89123c0
2 changed files with 4 additions and 3 deletions

View File

@ -102,9 +102,10 @@ int vuart_enable_interrupts(struct serial8250_16550A_vdev *vdev)
return 0;
error_unlock_free:
error_unlock_free:
unlock_vuart(vdev);
error_free:
error_free:
if (vdev->virq_queue) {
kfree(vdev->virq_queue);
vdev->virq_queue = NULL;

View File

@ -20,4 +20,4 @@ int unregister_bios_psu_status_shim(void);
int reset_bios_psu_status_shim(void);
#endif //REDPILL_BIOS_HWCAP_SHIM_H
#endif //REDPILL_BIOS_PSU_STATUS_SHIM_H