From patchwork Tue Aug 3 19:17:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Pemberton X-Patchwork-Id: 116846 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o73JQpUF027599 for ; Tue, 3 Aug 2010 19:26:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757178Ab0HCT0u (ORCPT ); Tue, 3 Aug 2010 15:26:50 -0400 Received: from viridian.itc.Virginia.EDU ([128.143.12.139]:46454 "EHLO viridian.itc.virginia.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755676Ab0HCT0u (ORCPT ); Tue, 3 Aug 2010 15:26:50 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 03 Aug 2010 19:26:51 +0000 (UTC) X-Greylist: delayed 558 seconds by postgrey-1.27 at vger.kernel.org; Tue, 03 Aug 2010 15:26:50 EDT Received: by viridian.itc.virginia.edu (Postfix, from userid 1249) id 205A22294D; Tue, 3 Aug 2010 15:17:32 -0400 (EDT) From: Bill Pemberton To: trivial@kernel.org Cc: linux-acpi@vger.kernel.org Subject: [PATCH] ACPI: acpi_pad: fix uninitialized variable warning Date: Tue, 3 Aug 2010 15:17:32 -0400 Message-Id: <1280863052-31538-1-git-send-email-wfp5p@virginia.edu> X-Mailer: git-send-email 1.7.2 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c index b76848c..69e2593 100644 --- a/drivers/acpi/acpi_pad.c +++ b/drivers/acpi/acpi_pad.c @@ -429,7 +429,7 @@ static void acpi_pad_ost(acpi_handle handle, int stat, static void acpi_pad_handle_notify(acpi_handle handle) { - int num_cpus; + int uninitialized_var(num_cpus); uint32_t idle_cpus; mutex_lock(&isolated_cpus_lock);