diff options
| author | Yuho Choi <dbgh9129@gmail.com> | 2026-07-03 01:03:32 -0400 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2026-07-28 11:23:01 -0700 |
| commit | 9bff30482c10f70d9e56c0633a6616e07140e217 (patch) | |
| tree | f59bc25695c39539b2536b4909a3a680934abee7 /tools/perf/scripts/python | |
| parent | bef152db47debcd14cbacefc5767f6f026c4bc89 (diff) | |
idpf: Fix mailbox IRQ name leak on request failure
idpf_mb_intr_req_irq() allocates the mailbox IRQ name before calling
request_irq(). On success, the name is released later through
kfree(free_irq()), but request_irq() failure returns without freeing it.
Free the allocated name on the request_irq() failure path.
Fixes: 4930fbf419a7 ("idpf: add core init and interrupt request")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Samuel Salin <Samuel.salin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
