4
1
mirror of https://github.com/DragonOS-Community/DragonOS.git synced 2025-06-20 10:06:31 +00:00

add start_msi to pci module

This commit is contained in:
fslongjin
2022-07-21 12:53:52 +08:00
parent e7d13b5a6d
commit 20a191d149
4 changed files with 73 additions and 7 deletions
kernel
driver
exception

@ -230,7 +230,8 @@ int irq_unregister(ul irq_num)
p->controller->uninstall(irq_num);
p->controller = NULL;
kfree(p->irq_name);
if (p->irq_name)
kfree(p->irq_name);
p->irq_name = NULL;
p->parameter = NULL;
p->flags = 0;