From patchwork Tue Dec 17 00:01:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 22544 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D71BA23FC6 for ; Tue, 17 Dec 2013 00:01:50 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id e14sf20301475iej.4 for ; Mon, 16 Dec 2013 16:01:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=+4OgkBw/In3kh96ALLJ1nKSyMjohDf/eJy21FdTqH48=; b=Z3oP8187uOOzC3sknq+02YjFx8h5C057iZ8Vr1pfCMTrE/2XHhFYCqpmUZg17bxkF2 KBMV8b1pyF0h2Mo+ktraPG27N2r/9LqAAKRkXxnQLS0HovxBEsnMnatPxdM46HFASQtC xYrRvN2ykjdj7Kxi+HggEK+rYnatoOAf8o4JPjjueNI5ZJ8ihOWu48+lyNc1JDuZD1j6 5k2KR6U1YrBa5e/Ss1cCFJvsNzdUcLlxAI6j3N6fx6DXJfFFbZWyFJLe9WDGAb7SlT3l l8YpnGyzzn1EWZ2vTVHGljvqP20HjqDMHi1zdb08VoBi6jn9EiZib2p2sxBTxCLqMIdq c7RQ== X-Gm-Message-State: ALoCoQkYjfCXq6kIUUbCxW03UMb7VZD3QTKvuQIv+pD96TquHxOz9FesSW9mLuWDkbRc2BGnmY4q X-Received: by 10.182.118.194 with SMTP id ko2mr7254080obb.32.1387238509832; Mon, 16 Dec 2013 16:01:49 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.127.46 with SMTP id nd14ls2213441qeb.19.gmail; Mon, 16 Dec 2013 16:01:49 -0800 (PST) X-Received: by 10.58.100.197 with SMTP id fa5mr993084veb.24.1387238509681; Mon, 16 Dec 2013 16:01:49 -0800 (PST) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id kp12si1841364vcb.16.2013.12.16.16.01.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 16:01:49 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hu19so3687042vcb.14 for ; Mon, 16 Dec 2013 16:01:49 -0800 (PST) X-Received: by 10.58.228.231 with SMTP id sl7mr33515vec.49.1387238509463; Mon, 16 Dec 2013 16:01:49 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp28391vcz; Mon, 16 Dec 2013 16:01:49 -0800 (PST) X-Received: by 10.42.177.10 with SMTP id bg10mr14320740icb.18.1387238508860; Mon, 16 Dec 2013 16:01:48 -0800 (PST) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx.google.com with ESMTPS id c6si12210052igg.24.2013.12.16.16.01.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 16:01:48 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.176 is neither permitted nor denied by best guess record for domain of al.stone@linaro.org) client-ip=209.85.223.176; Received: by mail-ie0-f176.google.com with SMTP id at1so7263810iec.7 for ; Mon, 16 Dec 2013 16:01:48 -0800 (PST) X-Received: by 10.43.16.2 with SMTP id pw2mr3578306icb.56.1387238508344; Mon, 16 Dec 2013 16:01:48 -0800 (PST) Received: from fidelio.ahs3.com (74-93-232-46-Colorado.hfc.comcastbusiness.net. [74.93.232.46]) by mx.google.com with ESMTPSA id qi3sm19125191igc.8.2013.12.16.16.01.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Dec 2013 16:01:47 -0800 (PST) From: al.stone@linaro.org To: linux-acpi@vger.kernel.org Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Al Stone Subject: [PATCH] ACPI: explicitly initialize a value to silence compiler warning Date: Mon, 16 Dec 2013 17:01:37 -0700 Message-Id: <1387238497-13788-1-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: al.stone@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Al Stone In acpi_processor_resume(), the variable resumed_bm_rld is being used without being initialized, so initialize it. Signed-off-by: Al Stone --- drivers/acpi/processor_idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 597cdab..86d11a6 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -213,7 +213,7 @@ static int acpi_processor_suspend(void) static void acpi_processor_resume(void) { - u32 resumed_bm_rld; + u32 resumed_bm_rld = 0; acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_RLD, &resumed_bm_rld); if (resumed_bm_rld == saved_bm_rld)