| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2014 IBM Corp. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or |
|---|
| 5 | | - * modify it under the terms of the GNU General Public License |
|---|
| 6 | | - * as published by the Free Software Foundation; either version |
|---|
| 7 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 8 | 4 | */ |
|---|
| 9 | 5 | |
|---|
| 10 | 6 | #include <linux/interrupt.h> |
|---|
| .. | .. |
|---|
| 353 | 349 | |
|---|
| 354 | 350 | out: |
|---|
| 355 | 351 | cxl_ops->release_irq_ranges(&ctx->irqs, ctx->afu->adapter); |
|---|
| 352 | + bitmap_free(ctx->irq_bitmap); |
|---|
| 356 | 353 | afu_irq_name_free(ctx); |
|---|
| 357 | 354 | return -ENOMEM; |
|---|
| 358 | 355 | } |
|---|