Message ID | 1600328345-27627-4-git-send-email-guohanjun@huawei.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | ACPI: First step to decouple ACPICA debug functionality from ACPI driver | expand |
diff --git a/drivers/acpi/acpi_configfs.c b/drivers/acpi/acpi_configfs.c index 21160a3..4473611 100644 --- a/drivers/acpi/acpi_configfs.c +++ b/drivers/acpi/acpi_configfs.c @@ -225,6 +225,7 @@ static void acpi_table_drop_item(struct config_group *group, pr_info("Host-directed Dynamic ACPI Table Unload\n"); acpi_unload_table(table->index); + config_item_put(cfg); } static struct configfs_group_operations acpi_table_group_ops = {
config_item_put() should be called to decrement refcount for item in the drop_item callback. Signed-off-by: Hanjun Guo <guohanjun@huawei.com> --- drivers/acpi/acpi_configfs.c | 1 + 1 file changed, 1 insertion(+)