From: Mathieu BĂ©rard Date: Fri, 3 Nov 2006 16:32:50 +0000 (+0000) Subject: * acpi.c: kmalloc -> kzalloc fix BUG when writing to wifi or bluetooth X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=32bc31365774d207d90ad94539e8b8912a265a02;p=omnibook.git * acpi.c: kmalloc -> kzalloc fix BUG when writing to wifi or bluetooth --- diff --git a/acpi.c b/acpi.c index 185c9aa..369e4f9 100644 --- a/acpi.c +++ b/acpi.c @@ -101,7 +101,7 @@ static int omnibook_acpi_init(const struct omnibook_operation *io_op) if (!priv_data) { dprintk("Try to init ACPI backend\n"); - priv_data = kmalloc(sizeof(struct acpi_backend_data), GFP_KERNEL); + priv_data = kzalloc(sizeof(struct acpi_backend_data), GFP_KERNEL); if (!priv_data) { retval = -ENOMEM; goto out;