Commit 2a89d7c2 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Darren Hart

classmate-laptop: Fix sparse warning (0 as NULL)

Fix the following sparse warning:

classmate-laptop.c:523:61: warning: Using plain integer as NULL pointer
Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 76fe63f5
......@@ -520,7 +520,7 @@ static acpi_status cmpc_get_accel(acpi_handle handle,
{
union acpi_object param[2];
struct acpi_object_list input;
struct acpi_buffer output = { ACPI_ALLOCATE_BUFFER, 0 };
struct acpi_buffer output = { ACPI_ALLOCATE_BUFFER, NULL };
unsigned char *locs;
acpi_status status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment