diff options
author | Peiwei Hu <jlu.hpw@foxmail.com> | 2021-12-28 16:59:10 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-12-28 08:04:10 -0800 |
commit | 660d187887cf28bcd71e56008a71657811953189 (patch) | |
tree | 9d7bfc51d097bd1ec36c952970cda7947986acbf /drivers/hwmon/pmbus/pim4328.c | |
parent | f103b2e5a6197586effb0b9a1b72c30b5d65b0cd (diff) | |
download | linux-stable-660d187887cf28bcd71e56008a71657811953189.tar.gz linux-stable-660d187887cf28bcd71e56008a71657811953189.tar.bz2 linux-stable-660d187887cf28bcd71e56008a71657811953189.zip |
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: Peiwei Hu <jlu.hpw@foxmail.com>
Link: https://lore.kernel.org/r/tencent_C851C0324431466CBC22D60C5C6AC4A8E808@qq.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/pim4328.c')
0 files changed, 0 insertions, 0 deletions