diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-03-18 12:00:51 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:13 +0200 |
| commit | c0f2f472326a647a6fccb5a55b2f16312073d969 (patch) | |
| tree | 03241fa372778efdd4f7105820dd0ddf236a4292 /include/linux/task_work.h | |
| parent | 9a8eac4120931d4b6bc1bbcc7d56366058ae5eb5 (diff) | |
power: ipaq-micro-battery: freeing the wrong variable
commit b9223da41794030a5dfd5106c34ed1b98255e2ae upstream.
We accidentally free "micro_ac_power" which is an error pointer and it
leads to an oops. We intended to free "micro_batt_power".
Fixes: a2c1d531854c ('power_supply: ipaq_micro_battery: Check return values in probe')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions
