> +static int __init fujitsu_init(void) > +{ > + int ret, result; > + > + if (acpi_disabled) > + return -ENODEV; > + > + fujitsu = kmalloc(sizeof(struct fujitsu_t), GFP_KERNEL); > + if (!fujitsu) > + return -ENOMEM; > + memset(fujitsu, 0, sizeof(struct fujitsu_t)); > + > + result = acpi_bus_register_driver(&acpi_fujitsu_driver); > + if (result < 0) { > + goto fail_acpi; > + } if this goto is taken, then "ret" is used uninitialized below: > + fail_acpi: > + > + kfree(fujitsu); > + > + return ret; > +} - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html