Skip to content
Commit 660d1878 authored by Peiwei Hu's avatar Peiwei Hu Committed by Guenter Roeck
Browse files

hwmon: (xgene-hwmon) Add free before exiting xgene_hwmon_probe



Call kfifo_free(&ctx->async_msg_fifo) before error exiting
instead of returning directly.

Signed-off-by: default avatarPeiwei Hu <jlu.hpw@foxmail.com>
Link: https://lore.kernel.org/r/tencent_C851C0324431466CBC22D60C5C6AC4A8E808@qq.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent f103b2e5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment