forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/misc/cxl/irq.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * 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.
84 */
95
106 #include <linux/interrupt.h>
....@@ -353,6 +349,7 @@
353349
354350 out:
355351 cxl_ops->release_irq_ranges(&ctx->irqs, ctx->afu->adapter);
352
+ bitmap_free(ctx->irq_bitmap);
356353 afu_irq_name_free(ctx);
357354 return -ENOMEM;
358355 }