diff options
author | Jason Wang <[email protected]> | 2020-07-23 17:12:54 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2020-08-26 08:13:59 -0400 |
commit | 2b9f28d5e8efad34f472542315911c5ee9a65b6c (patch) | |
tree | 119ae989ec6121bd212b58f57aed739293c59f66 /include/linux/fpga/fpga-mgr.h | |
parent | 9f4ce5d72b8e7a1f750598407c99f9e39dfb12fc (diff) |
vdpa: ifcvf: free config irq in ifcvf_free_irq()
We don't free config irq in ifcvf_free_irq() which will trigger a
BUG() in pci core since we try to free the vectors that has an
action. Fixing this by recording the config irq in ifcvf_hw structure
and free it in ifcvf_free_irq().
Fixes: e7991f376a4d ("ifcvf: implement config interrupt in IFCVF")
Cc: Zhu Lingshan <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Zhu Lingshan <[email protected]>
Fixes: e7991f376a4d ("ifcvf: implement config interrupt in IFCVF")
Cc: Zhu Lingshan <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
Signed-off-by: Jason Wang <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions