From 5aaef0792cd2d60f2abb97485ff41ed547a624d3 Mon Sep 17 00:00:00 2001 From: Mariusz Kozlowski Date: Fri, 13 May 2011 09:21:39 -0300 Subject: [PATCH] ACPI: thinkpad-acpi: trivial fix of error message Trivial fix makes the error message match the code before it (ibm->driver vs ibm->acpi-driver) better. Signed-off-by: Mariusz Kozlowski Acked-by: Henrique de Moraes Holschuh --- drivers/misc/thinkpad_acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index fc445954ba9..bb0b9841051 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c @@ -588,7 +588,8 @@ static int __init register_tpacpi_subdriver(struct ibm_struct *ibm) ibm->acpi->driver = kzalloc(sizeof(struct acpi_driver), GFP_KERNEL); if (!ibm->acpi->driver) { - printk(TPACPI_ERR "kzalloc(ibm->driver) failed\n"); + printk(TPACPI_ERR + "failed to allocate memory for ibm->acpi->driver\n"); return -ENOMEM; } -- 2.11.4.GIT