aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities/utalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/utilities/utalloc.c')
-rw-r--r--drivers/acpi/utilities/utalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/utilities/utalloc.c b/drivers/acpi/utilities/utalloc.c
index 34de3791d4c2..7b35eb84d058 100644
--- a/drivers/acpi/utilities/utalloc.c
+++ b/drivers/acpi/utilities/utalloc.c
@@ -252,7 +252,7 @@ acpi_ut_initialize_buffer(struct acpi_buffer * buffer,
252 252
253 /* Allocate a new buffer with local interface to allow tracking */ 253 /* Allocate a new buffer with local interface to allow tracking */
254 254
255 buffer->pointer = ACPI_MEM_CALLOCATE(required_length); 255 buffer->pointer = ACPI_ALLOCATE_ZEROED(required_length);
256 if (!buffer->pointer) { 256 if (!buffer->pointer) {
257 return (AE_NO_MEMORY); 257 return (AE_NO_MEMORY);
258 } 258 }