summaryrefslogtreecommitdiff
path: root/gxp-core-telemetry.c
diff options
context:
space:
mode:
Diffstat (limited to 'gxp-core-telemetry.c')
-rw-r--r--gxp-core-telemetry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gxp-core-telemetry.c b/gxp-core-telemetry.c
index bce27c6..bfa9264 100644
--- a/gxp-core-telemetry.c
+++ b/gxp-core-telemetry.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0-only
/*
* GXP core telemetry support
*
@@ -839,6 +839,7 @@ int gxp_core_telemetry_register_eventfd(struct gxp_dev *gxp, u8 type, int fd)
break;
default:
ret = -EINVAL;
+ eventfd_ctx_put(new_ctx);
goto out;
}