projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (ibmpex) Release IPMI user if hwmon registration fails
[powerpc.git]
/
drivers
/
hwmon
/
ibmpex.c
diff --git
a/drivers/hwmon/ibmpex.c
b/drivers/hwmon/ibmpex.c
index
fe2c261
..
c462824
100644
(file)
--- a/
drivers/hwmon/ibmpex.c
+++ b/
drivers/hwmon/ibmpex.c
@@
-498,8
+498,7
@@
static void ibmpex_register_bmc(int iface, struct device *dev)
printk(KERN_ERR DRVNAME ": Error, unable to register hwmon "
"class device for interface %d\n",
data->interface);
- kfree(data);
- return;
+ goto out_user;
}
/* finally add the new bmc data to the bmc data list */