diff --git a/[refs] b/[refs] index a529c6282474..b64231112440 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6f8c2e7933679f54b6478945dc72e59ef9a3d5e0 +refs/heads/master: b88a634a903d9670aa5f2f785aa890628ce0dece diff --git a/trunk/drivers/acpi/processor_idle.c b/trunk/drivers/acpi/processor_idle.c index f1a5da44591d..fea6f8d71fa3 100644 --- a/trunk/drivers/acpi/processor_idle.c +++ b/trunk/drivers/acpi/processor_idle.c @@ -958,6 +958,9 @@ static int acpi_processor_setup_cpuidle_cx(struct acpi_processor *pr) return -EINVAL; } + if (!dev) + return -EINVAL; + dev->cpu = pr->id; if (max_cstate == 0)