The error handling is broken right now since it leaves resources unfreed.
Convert the code to use managed resources to fix the error handling.
Signed-off-by: Andy Shevchenko
---
drivers/platform/x86/intel_scu_ipc.c | 26 --
1 file changed, 8 insertions(+), 18
The error handling is broken right now since it leaves resources unfreed.
Convert the code to use managed resources to fix the error handling.
Signed-off-by: Andy Shevchenko
---
drivers/platform/x86/intel_scu_ipc.c | 26 --
1 file
2 matches
Mail list logo